Vbscript in Macro

  • Thread starter Thread starter DaveChoiceTech
  • Start date Start date
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.
 
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.
 
Back
Top