Vbscript in Macro

D

DaveChoiceTech

I have written an extensive vbscript that I would like to run from a
command button. Do I have to rewrite it in VBA or is there some way to
call vbscript in a macro.
 
K

Ken Slovak - [MVP - Outlook]

You can use some variation of ShellExecute to do that or any other way of
running a script but you'd have far better control and error handling if you
converted your macro into VBA and ran the code directly.
 
Top