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?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 5 replies
  • 1585 views
  • 1 like
  • 3 in conversation