Open a specific Word document
This tutorial shows how to open a specific Word document
Sub Open_Word_document()
Set Worddoc = CreateObject("word.Application")
Worddoc.documents.Open "C:\Excel\Exceldome Tutorials.docx"
Worddoc.Visible = True
Worddoc.documents.Open "C:\Excel\Exceldome Tutorials.docx"
Worddoc.Visible = True
End Sub
NOTES
Note 1: This VBA code will open a Word document (.docx) called "Exceldome Tutorial" in the C:\Excel folder.
Note 1: This VBA code will open a Word document (.docx) called "Exceldome Tutorial" in the C:\Excel folder.
RELATED TOPICS
Related Topic | Description | Related Topic and Description |
---|---|---|
Create and Save a new workbook | How to create and save a new workbook using VBA |