BookmarkSubscribeRSS Feed
asweeney
Calcite | Level 5

Hi. I am using Enterprise guide to export multiple tables to a single sheet into specific cells in Excel. The goal would be to use a macro for each table and the cell ranges for the export. I know I cant use proc export due to not being able to export to specific cells, and I have tried ODS excel but every time my file is corrupt and I cant open it. I am relatively new to SAS and have searched the forums to no success. I would greatly appreciate any advice! Thanks everyone!

1 REPLY 1
ballardw
Super User

Suggestion: Provide a couple of small datasets, or use SAS supplied data sets like SASHELP.CLASS, show the approach you are using to place two of these into your Excel.

Run the code and show us the LOG by copying the entire log for this effort and pasting the text into a text box opened on the forum with the </>.

 

Can't diagnose an illness without symptoms; can't diagnose code without data and code.

 

Also, are you trying to place this stuff into an existing Excel file or making a new file?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 730 views
  • 2 likes
  • 2 in conversation