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