I used this to great effect (Many thanks Frans!), but was wondering i
anybody could help me with a modification.
After using the Show/Hide macros, if I open the sheet in the workshee
that has the floating toolbar, it doesn't show up, and also it stays i
I have two workbooks open and toggle between the two. Is there a wa
to:
Make it appear when I open the workbook with that sheet active
Make the toolbar disappear when I ctrl-tab to another workbook.
All help very gratefully received.
Thanks,
Chris
Hi Pat,
So that was the point: show / hide a toolbar when you activate
sheet.
Try the code below (Excel XP). It *must* be in the objectmodule fo
the
specific
sheet: right click the sheet tab and then View Code (or something like
that).
Private Sub Worksheet_Activate()
Application.CommandBars("YourBar").Visible = True
End Sub
Private Sub Worksheet_Deactivate()
Application.CommandBars("YourBar").Visible = False
End Sub
Frans