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...

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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