Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Application.Quit still wants to save

I have a close button with the following code:


Code
-------------------
Private Sub btnQuit_Click()
For Each w In Application.Workbooks
w.Saved = True
Next w

Application.Quit
End Su
-------------------


If i fiddle around enough in my UserForm, changing values, I still ge
asked if I want to save changes when I press the quit button. If
don't do alot of changes, it closes allright.

How can the entire workbook just get saved "sometimes"?!?

Thanks!

/ phreu

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to quit application K11ngy Excel Discussion (Misc queries) 7 July 6th 07 04:48 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Application.quit yuiriy Excel Programming 4 June 10th 04 08:36 AM
application.quit will not shut off application john Excel Programming 0 January 9th 04 11:29 PM
Quit Application Robert Black Excel Programming 1 July 31st 03 04:15 PM


All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"