This application uses automation with Microsoft Word for formatted printing purposes. To use Word you must first connect or instantiate a running instance of Microsoft Word, as illustrated in the following:
Set mobjWord = CreateObject("Word.Application")
Simply instantiating Microsoft Word does not make it visible, however. You must make it visible manually by setting the object's Visible property to True:
mobjWord.Visible = True
Was this article helpful?