BookmarkSubscribeRSS Feed
marzouso
Calcite | Level 5

Hi all,

 

I want to launch my SAS program (SAS Guide) using VBA.

I have a button in Excel page. This button is associated to a VBA program and i want that this vba program call a SAS guide program.

 

So that the user avoid to launch two programs (vba and SAS).

 

Thank you for your help.

 

3 REPLIES 3
Reeza
Super User

First figure out how to call it from a prompt/shell command. Once you have that figured out, you can use the SHELL() command in VBA. 

 

SASKiwi
PROC Star

This Community article should help: https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automati...

 

Please note that requirements change depending on your version of EG.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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