![]() ![]() ![]() Per one of our support engineers: You need to set an object variable equal to the application, opening the application through createobject rather than activatemicrosoftapp. Set the application to visible if you need to see what’s going on, then you can use the object variable to access Word’s VBA to open the workbook: Sub automateword Set wordapp = CreateObject (' word.Application') 'C: Documents and Settings anitao My Documents alo2004.doc' wordapp.Visible = True End Sub Article 307216 gives much more detail about using automation with Word How to use Automation with Word 2002 I hope this is helpful, -brenda (ISV Buddy Team). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |