BookmarkSubscribeRSS Feed
bmillson1
Fluorite | Level 6

Hello,

 

I receive 100 monthly files already pre-populated with extensive data from an Oracle database. I need to add 5 numbers from a SAS dataset to specific cell locations in each file. I'm using Enterprise Guide and don't have DDE, nor is copy/paste an efficient approach.

 

Before anyone asks, I cannot re-create the excel files and don't have access to the Oracle source data. And I know DDE is frowned upon, but it would work perfectly in this case since it gives direct control to populate specific cells. Alas,...,

 

I've been tinkering with the libname PCFILES option to connect to an excel file (which works successfully!), and then trying various strategies to populate the specific cells. This is where I'm stuck, was wondering if the sql update option could work (something along the lines of - update myxls.'Sheet1$'n) but not sure how to reference the cells and not just the sheet.

 

Any suggestions on the above or in general would be appreciated!

 

Thanks,

Bart

1 REPLY 1

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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