BookmarkSubscribeRSS Feed
Snow_Belssas
Calcite | Level 5
Dears

In one of my macro using DDE function to import MS EXCEL spread sheet into SAS, there is always a window pop up in openned EXCEL application which asks me to save (or not) the openned Excel file. This interrupts my process automation. Could any of you tell my how to avoid that (it was not the case in early version of EXCEL if I remember well)? BTW, I am using EXCEL 2007 and SAS 913.

Many thanks in advance

Ssas
1 REPLY 1
deleted_user
Not applicable
Use the DDE directives that instruct Excel to "Save", or "SaveAs" the open Excel sheet. Your problem is that DDE uses .COM which has a number of issues including security and deprecation of features associated with it. Alan Churchill is the guru in this area and in his blog he examines some of the problems and proposed solutions. Try http://savian.blogspot.com

Kind regards

David

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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