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""";
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.