BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
Can anybody please tell me how to call (or run) a SAS macro with parameters, from VBA.

My macro is something like this

%para2sas(response=,indvars=,strata=);

I have created listboxes to get user inputs from VBA ,but the problem is to connect them with the SAS macro.

Thank you in advance..
2 REPLIES 2
deleted_user
Not applicable
hi,

call SAS in batch mode with SYSPARM System Option

M.
deleted_user
Not applicable
Thank you very much M.
Bye

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 928 views
  • 0 likes
  • 1 in conversation