Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I created a pushbutton with following code: Private Sub CommandButton4_Click() ActiveWorkbook.Close End Sub When I click I am asked if I want to save the workbook.... Tha idea is, when clicking the button, ALWAYS save the wrokbook and close excel. What code should I add? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel closing down when I attempt to enter = in one file and then | Excel Discussion (Misc queries) | |||
Opening then later Closing an Excel file in VBA | Excel Discussion (Misc queries) | |||
Error with closing the Excel file | Excel Discussion (Misc queries) | |||
Excel Crashes after Inserting New Worksheet and Closing the File | Excel Discussion (Misc queries) | |||
Unexpected error message on closing an Excel file | Excel Discussion (Misc queries) |