BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tboat
Fluorite | Level 6
I am trying to export my SAS output to an existing excel sheet where I need the data on a particular sheet and cell. I don't want SAS to create or overwrite my excel file but to simply allocate the output to my worksheet. Any help will be greatly appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

Define a range in your Excel file where you want SAS to write, and use proc export.

View solution in original post

5 REPLIES 5
Tboat
Fluorite | Level 6
I am trying to export my SAS output to an existing excel sheet where I need the data on a particular sheet and cell. I don't want SAS to create or overwrite my excel file but to simply allocate the output to my worksheet. Any help will be greatly appreciated.
ChrisNZ
Tourmaline | Level 20

Define a range in your Excel file where you want SAS to write, and use proc export.

Tboat
Fluorite | Level 6
For some reason the Range statement is not supported with Proc export.
Reeza
Super User
Why do you say that? I'm almost certain it's valid for DBMS=XLSX.

Can you show the code that was tried? If it generated an error, please include that as well.
Reeza
Super User
Did you try PROC EXPORT and specifying the range/cells?
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
  • 5 replies
  • 2585 views
  • 1 like
  • 3 in conversation