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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 776 views
  • 0 likes
  • 2 in conversation