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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1214 views
  • 0 likes
  • 2 in conversation