Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

turn off 'save' prompt when closing Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dawnyanne - 18 Sep 2007 11:20 GMT
hi there
Is there a way to 'turn off' the prompt "Do you want to save your changes?"
when you close excel? Many thanks for any help!

Dawnyanne
Mike H - 18 Sep 2007 12:06 GMT
Hi,

Alt+F11 to open VB editor. Double click this workook and paste this in:-

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Saved = True
End Sub

Mike

> hi there
> Is there a way to 'turn off' the prompt "Do you want to save your changes?"
> when you close excel? Many thanks for any help!
>
> Dawnyanne
Dawnyanne - 18 Sep 2007 12:26 GMT
Hi Mike

Thank you so much!!

> Hi,
>
[quoted text clipped - 11 lines]
> >
> > Dawnyanne
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.