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.
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.
Using X commands or systask (https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/n1vt3ybuz7d0n1n0z1orjvq2ww3x.htm ,
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p09xs5cudl2lfin17t5aqvpcxkuz.htm )
An example is given at https://support.sas.com/kb/43/addl/fusion_43496_4_convert.sas.txt and shown below
x "cscript ""your.vbs""";
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!
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.