Hi everybody,
I use this code to open a Word file from ACCESS:
Set wrd = CreateObject(Word.Application)
Wrd.visible = true
wrd.Documents.open "c:\test_vba\test_vba.doc"
It works well the first time, but when I close Word and the document and I click again on my button to execute the procedure, it show me this message error: " Distant server not responding error n° 462"
I don't understand why because when I retry just after , it works well. So It works one time on two.
Why ???
Thank U
I use this code to open a Word file from ACCESS:
Set wrd = CreateObject(Word.Application)
Wrd.visible = true
wrd.Documents.open "c:\test_vba\test_vba.doc"
It works well the first time, but when I close Word and the document and I click again on my button to execute the procedure, it show me this message error: " Distant server not responding error n° 462"
I don't understand why because when I retry just after , it works well. So It works one time on two.
Why ???
Thank U