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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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