Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Hide Custom Command Bar if Workbook opened Read-Only
When I open my workbook read-only, the macro listed below runs. How
do I also have my custom command bar hide as well? Sub ShowAffOnly() Dim wsSheet As Worksheet For Each wsSheet In Worksheets If wsSheet.Name < "Affiliation" Then wsSheet.Visible = xlVeryHidden Next wsSheet End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Open Workbook Read Only and hide select worksheets | Excel Programming | |||
stop excel file opened as read only if already opened by another u | Excel Programming | |||
Rules that act on messages after they are opened & read? | Excel Discussion (Misc queries) | |||
Is Workbook read-only because of file permission or because file is already opened? | Excel Programming | |||
How to read sheet of currently opened workbook | Excel Programming |