Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable commands for one workbook
I am using the following commands to disable certain options for a specific
workbook. However, if any other workbooks are open, these same options are also disable for them. How can I disable commands only for a specific workbook rather than all open workbooks? Thanks. Application.CommandBars.Item("Data").Controls.Item ("Filter").Controls.Item("&Advanced Filter...").Enabled = False Application.CommandBars.Item("Tools").Controls.Ite m("&Customize...").Enabled = False Application.CommandBars("Toolbar List").Enabled = False -- Steve C |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Disable Pasting into a Workbook | Excel Worksheet Functions | |||
Shared workbook and Macro commands | Excel Discussion (Misc queries) | |||
Disable cut paste in a workbook | Excel Programming | |||
Disable the opening of another workbook | Excel Programming | |||
What commands do you use to name a workbook, save a workbook,open a workbook | Excel Programming |