R
Rich W.
I am creating a macro to update all .doc documents from Word 2003 to Word
2007 format, in a user-selected directory.
The macro crashes when I run it; the line it crashes on is:
ActiveDocument.Convert
The error message states "Command not available".
Oddly, when I step through it, the macro will work on the first iteration of
the While/Wend loop. It goes through the "Convert" line fine. (I can look at
the document when the macro is running, due to the fact I'm stepping through
it; I see the command, "Convert" on the Office Button menu.)
Any one have any idea why it can't find the command?
Thanks for any thoughts!
2007 format, in a user-selected directory.
The macro crashes when I run it; the line it crashes on is:
ActiveDocument.Convert
The error message states "Command not available".
Oddly, when I step through it, the macro will work on the first iteration of
the While/Wend loop. It goes through the "Convert" line fine. (I can look at
the document when the macro is running, due to the fact I'm stepping through
it; I see the command, "Convert" on the Office Button menu.)
Any one have any idea why it can't find the command?
Thanks for any thoughts!