|
-
Jul 14th, 2011, 02:30 AM
#1
Thread Starter
New Member
Word 2010 Automation
I have a problem with automating Word 2010 using a VB6.0 app on a Windows 7 PC. Every time the app tries to open a Word document the app crashes. I am using the following code:
msw.Documents.Add ourmatx.location, False
DoEvents
msw.ActiveDocument.SaveAs2 ourmatx.location
DoEvents
msw.Visible = True
ourmatx.location has the path to the file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|