R
Robert
Hi all.
In Word 97 when the user closed the print Preview window
Word would also close. In Office XP the user closes the
window and they are taken back to the main Word window.
Not wanting that to happen, I am running VBA in the
document to close word in the ClosePreview method.
Problem: The ClosePreview method doesn't fire when the
user clicks the X to close the print preview window. If
they click the close button (the one in the middle of the
window) it fires. Any ideas why that is?
What I need to be able to do is display the document from
VB6 to the user in print preview mode. Then when the user
is done looking at it and they click close (either place)
and word will close not giving the user a chance to mess
(in any way) with the document.
Any help is greatly appreciated.
R.
In Word 97 when the user closed the print Preview window
Word would also close. In Office XP the user closes the
window and they are taken back to the main Word window.
Not wanting that to happen, I am running VBA in the
document to close word in the ClosePreview method.
Problem: The ClosePreview method doesn't fire when the
user clicks the X to close the print preview window. If
they click the close button (the one in the middle of the
window) it fires. Any ideas why that is?
What I need to be able to do is display the document from
VB6 to the user in print preview mode. Then when the user
is done looking at it and they click close (either place)
and word will close not giving the user a chance to mess
(in any way) with the document.
Any help is greatly appreciated.
R.