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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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