DATA Step, Macro, Functions and more

Proc export carraige return and frozen header issue

Reply
Regular Contributor
Posts: 178

Proc export carraige return and frozen header issue

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"

PROC Star
Posts: 2,215

Re: Proc export carraige return and frozen header issue

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

Ask a Question
Discussion stats
  • 1 reply
  • 119 views
  • 0 likes
  • 2 in conversation