ACommandLineKindaGuy
Active Member
- Joined
- May 11, 2002
- Messages
- 378
- Office Version
- 365
- Platform
- Windows
I'm going to explain this qualitatively before posing code:
I have a custom Tab "Fee" that on startup is the only visible tab. All of the Excel Tabs are hidden using startFromScratch="True", however I have created custom tabs that mimic the standard Excel Tabs; these are all hidden on startup.
There are a few sheets in the workbook. For all but one sheet, I use a GetEnabled callback that disables many but not all controls.
I have a "System Access" Control that unprotects the workbook and all its sheets among other things including a callback to display all the faux Excel Tabs and keep the Fee Tab visible, but disable certain Fee tab controls.
All is good and all works great until when I am in "System Access" and change sheets, all the faux Excel Ribbon Tabs disappear. The disabling of certain controls on the Fee tab works fine.
I am calling the RefreshRibbon callback sub on each sheets Worksheet_Activate sub but without luck.
Any suggestions before I post the code?
TIA John
I have a custom Tab "Fee" that on startup is the only visible tab. All of the Excel Tabs are hidden using startFromScratch="True", however I have created custom tabs that mimic the standard Excel Tabs; these are all hidden on startup.
There are a few sheets in the workbook. For all but one sheet, I use a GetEnabled callback that disables many but not all controls.
I have a "System Access" Control that unprotects the workbook and all its sheets among other things including a callback to display all the faux Excel Tabs and keep the Fee Tab visible, but disable certain Fee tab controls.
All is good and all works great until when I am in "System Access" and change sheets, all the faux Excel Ribbon Tabs disappear. The disabling of certain controls on the Fee tab works fine.
I am calling the RefreshRibbon callback sub on each sheets Worksheet_Activate sub but without luck.
Any suggestions before I post the code?
TIA John