Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The there is apparently some automation occuring after the UserForm closes
that the system is detecting. If the file has been saved to the User's satisfaction at the time they want to close the workbook, then in the workbook close statement, add SaveChanges:=False, like this: ActiveWorkbook.Close SaveChanges:=False "tkraju via OfficeKB.com" wrote: even after putting this code,its still asking whether to save it or not? JLGWhiz wrote: Put this in the UserForm code module. Private Sub UserForm_Deactivate() ActiveWorkbook.Save End Sub My users uses a userform to enter data into w/book.but when that w/book closes,its asking"Do you want to save the changes made to [quoted text clipped - 4 lines] without asking the question. What code I should add to the userform to do the same? -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Saving a work book as values and format only | Excel Discussion (Misc queries) | |||
loss of fidelity error when saving excel work book | Excel Discussion (Misc queries) | |||
Saving as. The whole book ore parts of it?? | Excel Discussion (Misc queries) | |||
Problem saving sequential numbers order book | Excel Programming | |||
my excel work book is NOT read onlyt says it is when saving to CD | Excel Discussion (Misc queries) |