p.goh
08-24-2012, 04:14 AM
Hi there
I am opening word docs like so:
Set wdObjDest = GetObject(strWordDocDest)
If this word document is trying to connect to a datasource (for mail merge or what have you) then the code freezes until it brings up a warning message saying ''Microsoft Office Excel is waiting for another application to complete an OLE action".
How do I bypass any data connection and open up the document regardless of whether it is a valid data connection?
Many thanks
Peter
I am opening word docs like so:
Set wdObjDest = GetObject(strWordDocDest)
If this word document is trying to connect to a datasource (for mail merge or what have you) then the code freezes until it brings up a warning message saying ''Microsoft Office Excel is waiting for another application to complete an OLE action".
How do I bypass any data connection and open up the document regardless of whether it is a valid data connection?
Many thanks
Peter