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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code for closing without saving changes

Status
Not open for further replies.

vaughn9

Technical User
Sep 23, 2001
183

the code

ActiveWorkbook.close
will effectively close a workbook but the messsage "Do you want to save changes will come up.

Can I write another line of code to say No I don't want to save changes, without the user even seeing the message box.

or can I take out the Yes from that message box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top