When I use this code to open an OLE embedded Word document
Me![Doc].Verb = acOLEVerbShow
Me![Doc].Action = acOLEActivate
the MS Word program pops up with the document, but I want it to be hidden because I only want to modify its contents with VBA using Me![Doc].Application.ActiveDocument after it's opened. I tried changing acOLEVerbShow to acOLEVerbHide but it gave me a runtime error 13146.
Me![Doc].Verb = acOLEVerbShow
Me![Doc].Action = acOLEActivate
the MS Word program pops up with the document, but I want it to be hidden because I only want to modify its contents with VBA using Me![Doc].Application.ActiveDocument after it's opened. I tried changing acOLEVerbShow to acOLEVerbHide but it gave me a runtime error 13146.