Hi People,
I hope you are doing well and keeping safe.
I've a Macbook Pro and I'm trying to open up a word document using excel VBA, however I am getting an error. Need your help in resolving it.
Here is the snippet of the code that I am trying to use. Any leads?
Code
Sub Test()
Dim wordapp As Object, WordDoc As Object
Dim WordTable As Object
Set wordapp = CreateObject(Class:="Word.Application")
Set WordDoc = wordapp.Documents.Open(ThisWorkbook.Path & "\Master Document.docx")
wordapp.Visible = True
Thank you for all your help!
Best
Varun
Bookmarks