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??

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 666 views
  • 0 likes
  • 2 in conversation