R
rgmw
When I run the VBA code containing the command:
ActiveDocument.Convert
I receive an error message that states "Command is not available".
To troubleshoot the document, I step through the process. My routine
brings up the document, and then does the convert. When I step through
my code, I can look in the document and see the "Convert" command on
the Office Button menu. The next step I do, the convert command is
performed.
But, I go back to letting my routine loop through a directory, then
the routine crashes on ActiveDocument.Convert.
So, how can I get "ActiveDocument.convert" not to crash my routine?
Any ideas?
Thanks,
Rich
ActiveDocument.Convert
I receive an error message that states "Command is not available".
To troubleshoot the document, I step through the process. My routine
brings up the document, and then does the convert. When I step through
my code, I can look in the document and see the "Convert" command on
the Office Button menu. The next step I do, the convert command is
performed.
But, I go back to letting my routine loop through a directory, then
the routine crashes on ActiveDocument.Convert.
So, how can I get "ActiveDocument.convert" not to crash my routine?
Any ideas?
Thanks,
Rich