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?
https://communities.sas.com/thread/49210
See my last post or follow the following link
http://support.microsoft.com/kb/128185/en-us
Vincent
Paige: two good sources that I'm aware of are:
http://msdn.microsoft.com/en-us/library/ms648711%28VS.85%29.aspx
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...
if you can find it you'll discover real documentation of the functions excel accepts through DDE in
excel 4 function reference
(iirc)
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
This link might work better: http://www.lexjansen.com/nesug/nesug13/151_Final_Paper.pdf
Art
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.
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.