S
Steve W.
I have a set of macros. During their running, one of the
acts preformed is copying strings stored in a table on one
document and pasting the strings into a second document.
When I am done with the first document (containing the
table) I issue a
ActiveWindow.Close
line of code.
Yes, it is the Active window. I use the
Windows(ID#).Activate line to switch between the two
documents.
I've had these macros running since Word98 and this has
always worked, but now with Word 2003 I get a
Runtime Error 5479
"Cannot Close Micorsoft Office Word because a dialog box
is open.
Click OK, Switch to Word and close the dialog box."
Needlees to say, there is no OK button, just an End and
Help, if running live.
And a added Debug button if in debug mode.
The Help button brings up nothing and the debug button
highlights the above mentioned 'ActiveWindow.Close"
line of code.
Anybody know what's going on here now? I can't find
anything in the knowledge base that seems to help.
Thanks,
Steve
acts preformed is copying strings stored in a table on one
document and pasting the strings into a second document.
When I am done with the first document (containing the
table) I issue a
ActiveWindow.Close
line of code.
Yes, it is the Active window. I use the
Windows(ID#).Activate line to switch between the two
documents.
I've had these macros running since Word98 and this has
always worked, but now with Word 2003 I get a
Runtime Error 5479
"Cannot Close Micorsoft Office Word because a dialog box
is open.
Click OK, Switch to Word and close the dialog box."
Needlees to say, there is no OK button, just an End and
Help, if running live.
And a added Debug button if in debug mode.
The Help button brings up nothing and the debug button
highlights the above mentioned 'ActiveWindow.Close"
line of code.
Anybody know what's going on here now? I can't find
anything in the knowledge base that seems to help.
Thanks,
Steve