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!

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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