![]() |
turn off 'save' prompt when closing Excel
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 |
turn off 'save' prompt when closing Excel
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 "Dawnyanne" wrote: 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 |
turn off 'save' prompt when closing Excel
Hi Mike
Thank you so much!! "Mike H" wrote: 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 "Dawnyanne" wrote: 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 |
All times are GMT +1. The time now is 07:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com