g***@pnmac.com
2018-04-27 13:46:37 UTC
Hi.
I have the following in VBS:
\\site.com\srvr\Applications\SUB2\SUB3\FLDR\SysWOW64\wscript.exe N:\TEST\TEST.vbs
I thought these 2 lines in VBA would do the same thing, but I am getting error:
ChDir "\\site.com\srvr\Applications\SUB2\SUB3\FLDR\FLDR2\FLDR3\Bin"
Shell "wscript ""N:\TEST\TEST.vbs""
How can I convert that VBS code to Excel VBA?
Thanks
I have the following in VBS:
\\site.com\srvr\Applications\SUB2\SUB3\FLDR\SysWOW64\wscript.exe N:\TEST\TEST.vbs
I thought these 2 lines in VBA would do the same thing, but I am getting error:
ChDir "\\site.com\srvr\Applications\SUB2\SUB3\FLDR\FLDR2\FLDR3\Bin"
Shell "wscript ""N:\TEST\TEST.vbs""
How can I convert that VBS code to Excel VBA?
Thanks