BookmarkSubscribeRSS Feed
Pankaj_23
Calcite | Level 5

Dear All Friends,

I am new user. I have lot of interest in SAS programming.

Execute excel macro's through SAS program.

Does anyone have any ideas?

Please guide me.

Best Regards,

Pankaj

2 REPLIES 2
LinusH
Tourmaline | Level 20

You might some more help if you this in the http://communities.sas.com/community/integration_with_microsoft_office forum. You also need to describe more how your application should work.

One idea is to use DDE, even though Microsoft doesn't favor (support?) this technique any more.

/Linus

Data never sleeps
Cynthia_sas
SAS Super FREQ

Hi,

If you search on support.sas.com for examples of using the ODS TAGSETS.MSOFFICE2K_X destination, I believe it has a way to pass an Excel macro name from SAS/ODS to Excel. You use the ODS TAGSETS.MSOFFICE2K_X destination to create an HTML file from your procedure output ... and it is this HTML file that Excel knows how to open into worksheet form.

Cynthia

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 830 views
  • 0 likes
  • 3 in conversation