I have code like this to open word file:
Set appWord = New Word.Application
appWord.Documents.Open Filename:=FileName, ReadOnly:=True, Revert:=True
appWord.Quit
Set appWord = Nothing
But when that word file is allready open in Word I get this error:
Component request pending
This action cannot be completed because the other application is busy.Choose "Swich to" to activate the busy application and correct the problem.
But after this error I cannot do nothing. I can only kill my application in Task manager.
Could somebody help me?
Set appWord = New Word.Application
appWord.Documents.Open Filename:=FileName, ReadOnly:=True, Revert:=True
appWord.Quit
Set appWord = Nothing
But when that word file is allready open in Word I get this error:
Component request pending
This action cannot be completed because the other application is busy.Choose "Swich to" to activate the busy application and correct the problem.
But after this error I cannot do nothing. I can only kill my application in Task manager.
Could somebody help me?