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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 535 views
  • 0 likes
  • 2 in conversation