BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi folks
Can I create excel vba macro through excelXp or any tagset while creating excel report? I tried many cool options with excelXp tagsets to create excel file with all these autofilter and other options. I also figured out to launch the existing macro based on personal.xls file. But couldn't find out how to add a piece of vba macro to the excel generated through ODS. Has anyone tried this?

cheers
Suren
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi,
Most of the VBA macro examples that I've seen use HTML output as the vehicle and not TAGSETS.EXCELXP (see Chevell Parker's paper). I'm not exactly sure how you would put this all together. Several of these papers have extensive reference sections at the end, which may help point you in a direction. Again, Tech Support is probably your best bet for help.

cynthia
http://www.lexjansen.com/pharmasug/2003/sasinstitute/sas129.pdf
http://www2.sas.com/proceedings/sugi29/222-29.pdf
http://www.lexjansen.com/phuse/2005/as/as11.pdf
http://www2.sas.com/proceedings/sugi30/157-30.pdf
deleted_user
Not applicable
Thanks Cynthia. Will try that

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 961 views
  • 0 likes
  • 2 in conversation