BookmarkSubscribeRSS Feed
PaigeMiller
Diamond | Level 26

In the documentation for using DDE to write to Excel, there are examples of Excel commands embedded in SAS code, for example, as shown here

     PUT '[select("r1c1:r20c3")]';

     PUT '[sort(1,"R1C1",1)]'; 

     PUT '[save.as("dde3.xls")]';

     PUT '[quit()]';

Where can I find a complete list of these Excel commands?

--
Paige Miller
6 REPLIES 6
Reeza
Super User

I think the commands are all those in the link Art provided, but those don't really encompass all the options anymore because some new ones are available with the new versions of Office...

Peter_C
Rhodochrosite | Level 12

if you can find it you'll discover real documentation of the functions excel accepts through DDE in

excel 4 function reference

(iirc)

Andre
Obsidian | Level 7

Paige,

The last reference about DDE and excel is from Guam and Hadden at Nesug2013

"EXCELing in DDE:  Unlock Useful Tools for Processing Excel®  "

http://www.lexjansen.com/nesug/nesug13/151_Final_Paper.pdf

Inside you have a link to a complete list zip file

and also some technics linked to office14        

HTH

Andre

art297
Opal | Level 21

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
  • 6 replies
  • 3670 views
  • 0 likes
  • 6 in conversation