BookmarkSubscribeRSS Feed
Q1983
Lapis Lazuli | Level 10

data tbl1;

set tb;

run;

 

PROC EXPORT OUTFILE="\\corp\dfs\Mortgage_Shared\VA019\F01B\Everyone\MBIO\Non_QM..xlsb"

DATA= tbl1

DBMS= EXCELCS REPLACE;

SHEET='Data';

SERVER='GA0122';

quit;

 

The results go to the above named server location however the report carraige return results go to the bottom of the page where there are no records.  I then have to move the scroller to the top.  Is there a way to insert code to have the results begin at the top left or cell (A1) and have a frozen header beginning at cell A2 ??  Or must this be handled in the datastep of "tbl1"

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

Your question is confusing (for example what does the report carraige return results go to the bottom of the page where there are no records mean?) hence probbaly why you got no answers.

 

As for freezing rows, maybe forego proc export and look here

https://communities.sas.com/t5/SAS-Procedures/Using-SAS-to-freeze-panes-and-add-colors-to-cell-on-Ex...

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1314 views
  • 0 likes
  • 2 in conversation