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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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