Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() A project I've nearly finished finally just about everything required but when you close it Excel asks 'Do you want to save the changes you made to....' irrespective of whether any changes have been made or not. Can I not show this message? Or, even better, only show it when there have been changes? Thanks - kirk |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can suppress that message with:
Application.DisplayAlerts = False right before the code to Close the workbook. I'm sure there's a way to check for changes, but I have no idea how to code for that ... //ray |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Mon, 06 Aug 2007 12:50:28 -0000, Ray wrote:
You can suppress that message with: Application.DisplayAlerts = False right before the code to Close the workbook. I'm sure there's a way to check for changes, but I have no idea how to code for that ... Ray, I put that into Private Sub Workbook_BeforeClose(Cancel As Boolean) but it has no affect there and still brings up the prompt. Was there where you meant it to go? Thanks - Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Inhibit use of the function "Connections" on Excel 2007 | Setting up and Configuration of Excel | |||
VBA to Sendkeys or otherwise inhibit Update Values Window | Excel Programming | |||
inhibit input | Excel Discussion (Misc queries) | |||
text import inhibit required | Excel Programming | |||
Inhibit Cut (allow Copy) | Excel Programming |