Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All,
I have been searching through the archives, but can't locate an answer for this. I have a command button that when clicked saves the file as the name in cell B1. I also want to disable the Save, Save As and save button on the toolbar. To accomplish that I located the code below. However when I insert that code, my command button is also disabled. How can I disable the Save, Save As and save button on the toolbar but still allow my Save button (command button) to work? Please help. Thanks Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Dim wb As Workbook Set wb = ActiveWorkbook Cancel = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable the save button | Excel Discussion (Misc queries) | |||
Disable 'save' command in Excel 2000 | Excel Discussion (Misc queries) | |||
Can I disable the Save command for an Excel file? | Excel Discussion (Misc queries) | |||
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() | Excel Discussion (Misc queries) | |||
How to diasble save and save as menu but allow a save button | Excel Programming |