The SAS Output Delivery System and reporting techniques

Excel commands via DDE

Reply
Trusted Advisor
Posts: 1,270

Excel commands via DDE

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?

Super Contributor
Posts: 339

Re: Excel commands via DDE

Esteemed Advisor
Posts: 6,877

Re: Excel commands via DDE

Grand Advisor
Posts: 16,285

Re: Excel commands via DDE

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...

Valued Guide
Posts: 2,152

Re: Excel commands via DDE

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

excel 4 function reference

(iirc)

Super Contributor
Posts: 273

Re: Excel commands via DDE

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

Esteemed Advisor
Posts: 6,877

Re: Excel commands via DDE

Post a Question
Discussion Stats
  • 6 replies
  • 950 views
  • 0 likes
  • 6 in conversation