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""";
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.