View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
phreud[_23_] phreud[_23_] is offline
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