The Word object that's created is invisible. If you'd like to see the object while it's being manipulated, set its Visible property to True, as follows: : Word « Word « VBA / Excel / Access / Word






The Word object that's created is invisible. If you'd like to see the object while it's being manipulated, set its Visible property to True, as follows:

 
Sub GetWordVersion()
    Dim WordApp As Object
    Set WordApp = CreateObject("Word.Application")
    MsgBox WordApp.Version
    WordApp.Visible = True    
    WordApp.Quit
    Set WordApp = Nothing
End Sub

 








Related examples in the same category

1.Check the word version
2.uses errors to learn whether Word is already open before pasting a chart at the end of a document. If not, it opens Word and creates a new document: