Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Document_Close Question

Status
Not open for further replies.

SgtPepps

IS-IT--Management
May 1, 2002
109
GB
I've a Document_Close procedure that querys the value of a boolean. If said boolean is false then i'd like the document not to close. Can this be accomplished eventhough i'm already running the Document_Close procedure?

Regards

Mike
 
Unlike Excel's Workbook_BeforeClose event, Word's Document_Close event does not have a Cancel parameter. I don't believe you can turn back the close operation at that point.
Rob
[flowerface]
 
OK, Thankyou Hold the wheel and Drive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top