|  

» Launch Word file from Excel VBA

Thanks to Ralph Hernandez from Elk Grove Village, Illinois for submitting the tip


This code will allow you to launch an existing Word file using a command button in Excel.

Private Sub CommandButton1_Click()

Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Open("C:FolderLocationFilename.doc")

End Sub

Rate This Tip
12 34 5
Rating: 3.04     Views: 26980
No comments have been submitted.
Name
Comment Title
Comments