Link to home
Start Free TrialLog in
Avatar of Ron Kidd
Ron KiddFlag for Australia

asked on

Run Program with Arguments from VBA Excel 2010

Hello

I need to run an external program with Arguments from VBA.

This works from the Command Line and the Run Command
"c:\program files\HotVirtualKeyboard\hvk.exe" "/SHOWKEYBOARD"

I Have Tried
command1 = Chr(34) & "c:\program files\HotVirtualKeyboard\hvk.exe" & Chr(34) & " " & Chr(34) & "/SHOWKEYBOARD" & Chr(34)
Call Shell(command1)

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Jacques Geday
Jacques Geday
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial