Tuesday, 15 July 2014

vba - Open Word from Excel in write mode -


I am trying to edit a .docx file with Excel (vba).

My code is so far:

  Due to the word dull wApp As application wDoc Word. Document set wApp = CreateObject ("word.Application") wApp.Visible = True Set wDoc = wApp.Documents.Open (filename: = ThisWorkbook.Path and "\ file.docx", ReadOnly: = False)  < / Pre> 

The thing is that the word file opens properly, but it only opens the file to read and I need it

What am I missing?


No comments:

Post a Comment