Mohammad Taha
New Member
- Joined
- Feb 8, 2014
- Messages
- 2
Hello Every Body,
I am trying to use AppActivate Function of VBA but it always produces an error number 5 that says: Invalid Procedure Call or argument
this is the code I am trying to run:
Sub WordActivate()
AppActivate "C:\Program Files\Microsoft Office\Office14\WINWORD.EXE", False
End SUB
Can you guys help me know where my mistake is?
I am trying to use AppActivate Function of VBA but it always produces an error number 5 that says: Invalid Procedure Call or argument
this is the code I am trying to run:
Sub WordActivate()
AppActivate "C:\Program Files\Microsoft Office\Office14\WINWORD.EXE", False
End SUB
Can you guys help me know where my mistake is?
Last edited: