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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top