Notifications
Clear all
VBA & Macros
2
Posts
1
Users
0
Reactions
94
Views
Topic starter
Hi,
I am trying to run other software (OasisMontaj.exe, Windisp.exe) via Excel Macro. But it always show this 'run time error 53'.
It doesn't happen when I try to open Notepad.exe or calc.exe.
Anybody know what wrong with my code?
Sub OpenApp()
Dim ProcessID As Double
ProcessID = Shell("Windisp.exe", vbNormalFocus)
AppActivate ProcessID
End Sub
Thank yo
Posted : 10/02/2021 9:37 am
Topic starter
Hi,
Please start your own topic, not tag on to the end of a question that's already answered.
You need to provide the full path to the executable (whatever that is) for example
ProcessID = Shell("c:program filesWindisp.exe", vbNormalFocus)
Regards
Phil
Posted : 11/02/2021 12:43 am