BookmarkSubscribeRSS Feed
deleted_user
Not applicable
We're currently using EG4.1 and want to be able to export data to a specific sheet in an existing excel workbook.

Is this possible? I know it was using dde and I've read somewhere that allowing the XMD functions might work, but I'm not sure it will as I'm not sure if our SAS and Excel are both running locally or on a server?

Help...

Thanks,
Chris.
1 REPLY 1
RichardH_sas
SAS Employee
Hmm, the only trick I have in my book is you can use SAS/ACCESS to PC Files and the Excel Libname statement to write to a new worksheet. For example:

libname myxls "C:\data\states.xls";

Then, any task/program could output to the myxls library *as long as* you picked a name that wasn't already the name of a worksheet. That's a big caveat: you can't have a worksheet with that name already in the workbook. So, you're not really outputting into a worksheet, you're creating a new one.

I'm sure there are other solutions, perhaps along the lines you describe. Hopefully we'll get a few more people weigh in!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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