use shell function in vbscript

S

Sofia

Hello.

I want to run a shell command from vbscript instead of
inside an excel macro. How do I do it? I couldn't find
anything in the help file.

This is the command:
retval = Shell("C:\test\print.exe", vbHide)

-Sofia
 

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

Top