How to pass a command line argument in VBA?
Hi all,
I am using MS office 2003. I want to pass the command line argument through vba code.
For example,
I have an application, the command line argument is,
ABC.exe /s /f
If I run this command in command prompt it will open that application in silent mode (/s), etc.
I want to achieve the same thing through vba code.
How can I do that?
Thanks in advance.
CS.
Re: How to pass a command line argument in VBA?
It should be something like ...
VB Code:
Shell "C:\ABC.exe / s / f"