BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Ajay09
Calcite | Level 5
Can we import excel vba marco into sas viya.... Can someone help?? I have a situation where in user have four input files and one vba marco generate master in 5 sheets in an excel work book... Wants us to automate in sas..
1 ACCEPTED SOLUTION

Accepted Solutions
Sajid01
Meteorite | Level 14

It is not possible to import vba macro to run in SAS Viya.
However if the macro can be written into vb script and if SAS  Viya is being run on a Windows Machine, then the macro can be executed from SAS.
A better way would be to import the files into SAS and then export them into a singe workbook.

View solution in original post

3 REPLIES 3
Sajid01
Meteorite | Level 14

It is not possible to import vba macro to run in SAS Viya.
However if the macro can be written into vb script and if SAS  Viya is being run on a Windows Machine, then the macro can be executed from SAS.
A better way would be to import the files into SAS and then export them into a singe workbook.

Ajay09
Calcite | Level 5
How do we run the vba marco code through sas??

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1312 views
  • 0 likes
  • 2 in conversation