Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ThisWorkbook.Close
or: ThisWorkbook.Close False 'if you don't want the Save Changes prompt -- Vasant "Patrick Marion" wrote in message ... I have created a UserForm which gives the user the option to either get into the worksheet/workbook or exit the worksheet/workbook. Would someone know the VBA code to attach to the Cancel button so that it actually closes the workbook? Thanks very much. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deactivate Save As | Excel Discussion (Misc queries) | |||
"Shared Workbook" seems to deactivate features like macros | Excel Discussion (Misc queries) | |||
Shared Workbook UserForms | Excel Discussion (Misc queries) | |||
Deactivate worksheet | Excel Discussion (Misc queries) | |||
Deactivate web toolbar | Excel Discussion (Misc queries) |