AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,050
- Office Version
- 2019
- 2010
- Platform
- Windows
Am I doing it correctly ?
The wait is working but Doit.bat doesn't run. Is something else needed?
Code:
x = Shell("D:\A-Sides\doit.bat", vbNormalFocus)
'wait for bat to finish
Application.Wait (Now + TimeValue("0:00:10"))
The wait is working but Doit.bat doesn't run. Is something else needed?