Hi,
I am using SAS 9.3 version and I am trying to output some data to excel starting from a particular row and column number. In the attached excel screenshot I have two reports. The first one is starting at Column B Row 3 and the second report is starting at Column G Row 3 and so forth.
Could someone show how to direct SAS to start printing the report from a particular row and column cell in excel. Thanks for your help!
You can't easily. You can try specifying the RANGE option when exporting.
There's a macro that works well though:
http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export
Okay, I will go through the link and give it a try. Thank You!
As an alternative, export your data to CSV, then use Excel VBA to read in the Excel and process into your Excel template.
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.
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.