ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   use shell function in vbscript (https://www.excelbanter.com/excel-programming/272222-use-shell-function-vbscript.html)

Sofia

use shell function in vbscript
 
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


All times are GMT +1. The time now is 07:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com