Michael Pettinicchi
Board Regular
- Joined
- Apr 11, 2002
- Messages
- 53
I am trying to open a MS .DOC file from an Excel workbook but I get an error message: 424 - Object Required. I don't know what it means / what I need to do. My code is:
Application.ActivateMicrosoftApp xlMicrosoftWord
Documents.Open FileName:=FileNm, ConfirmConversions:=False, ReadOnly _
:=False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate _
:="", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="" _
, Format:=wdOpenFormatAuto
The open MS Word works ok. The problem comes whentring to open the file.
Thanks for your help.
Michael
Application.ActivateMicrosoftApp xlMicrosoftWord
Documents.Open FileName:=FileNm, ConfirmConversions:=False, ReadOnly _
:=False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate _
:="", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="" _
, Format:=wdOpenFormatAuto
The open MS Word works ok. The problem comes whentring to open the file.
Thanks for your help.
Michael