So I'm trying to open a word document in my program so I can modify it, but I'm having trouble setting it up.
I added a reference to the Word 11.0 Object Library and then added the following code:
Friend WithEvents oWord As New Word.Application
Friend WithEvents oDoc As Word.Document
But when I hover over Word.Application and Word.Document it tells me "Type 'Word.Application' is not defined.
What am i missing?