Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Forms
Could some explain how, through code, you "Save" the sheet when you close a Form, so you don't get the message, "Are you sure you want to save changes..." when you close the workbook ? Many thanks - Kirk |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Forms
In the code that you use to close the form place this line:
ActiveWorkbook.Save Note that this save (as it implies) the "Active" workbook, if you want to save the workbook that the macro is written in, use ThisWorkbook.Save -- Charles Chickering "A good example is twice the value of good advice." "kirkm" wrote: Could some explain how, through code, you "Save" the sheet when you close a Form, so you don't get the message, "Are you sure you want to save changes..." when you close the workbook ? Many thanks - Kirk |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Forms
On Thu, 22 Feb 2007 18:23:10 -0800, Charles Chickering
wrote: In the code that you use to close the form place this line: ActiveWorkbook.Save Many thanks, Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Slow saving when adding VBA forms | Excel Discussion (Misc queries) | |||
Excel forms - authorise / deny forms | Excel Programming | |||
saving and loading contents of user forms | Excel Discussion (Misc queries) | |||
Calling Forms from Forms - Exit problems | Excel Programming | |||
saving information entered onto forms | Excel Programming |