|
-
Mar 1st, 2013, 07:46 AM
#4
Thread Starter
Hyperactive Member
Re: Open word document from one directory and set SaveAs in a diffent location
My code is now like this:
MyWord = CreateObject("Word.Application")
MyWord.Visible = True
Dim NewDoc As Word.Document
NewDoc = MyWord.Documents.Add(file)
But I get an error Bad Image Format Exception was unhandled.
Could not load file or assemply Interop Word Version 8.2.0.0.
I have:
Public MyWord
and reference MSWord 10.0 Object Library v 8.2.0.0
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
|