I have an app with which I want to be able to pass a parameter to and when it executes use that parameter to determine what it does next.
Any help would be much appreciated, thanks in advance.
Printable View
I have an app with which I want to be able to pass a parameter to and when it executes use that parameter to determine what it does next.
Any help would be much appreciated, thanks in advance.
Hello Andrew,
Try using the Command function. It returns anything entered after the exe file.
You just have to use InStr (or any other string manipulation function) to parse the command line to look for your parametersCode:Sub Main()
Msgbox Command$
End Sub