rappoman
Computer
- Jul 8, 2004
- 1
Hi,
I'm pretty new to VBA, and I am trying to open a word document from excel VBA. Can anyone help?
I'm pretty new to VBA, and I am trying to open a word document from excel VBA. Can anyone help?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If Tasks.Exists("Microsoft Word") Then Set WordApp = GetObject(, "word.application")
If WordApp = "" Then Set WordApp = CreateObject("word.application")
WordApp.Documents.Open FileName:=DwellPath, ReadOnly:= _
False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:= _
"", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto