Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi.
I have a workbook that I do not want the user to be able to save or save as. The code I have disables the proper icons, however, when I start Excel up again with a different workbook, the icons are still disabled. If I remove the .application, I get object var or with block var not set. How do I disable the save/save as for only the workbook I need? Here is my code int he the Workbook_Open sub. ThisWorkbook.Application.CommandBars("Worksheet menu bar").Controls _ ("&file").Controls("&Save").Enabled = False ThisWorkbook.CommandBars("Worksheet menu bar").Controls _ ("&file").Controls("&Save").Enabled = False Help. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting "Save As" adds "Copy of" to file name- MS Excel 2007 | Excel Discussion (Misc queries) | |||
"CELL("FILENAME") NOT UPDATE AFTER "SAVE AS" ACTION | Excel Discussion (Misc queries) | |||
In Excel 2003 is there a way to prevent "Save As" and "Print"? | Excel Discussion (Misc queries) | |||
"Save" and "Save As" options greyed out - "Save as Webpage" option | Excel Discussion (Misc queries) | |||
Disabling "SAVE AS" option under "File" | Excel Discussion (Misc queries) |