Hide - Unhide - Hide Bars
Posted by Michele on June 28, 2001 5:10 AM
Upon opening, my Cat.xls file hides various bars.
From this file, the user can select a file from a list and ask to open that file. Cat.xls must first unhide the bars and then open the requested file.
The requested file may or may not hide some of these bars (depending on which file gets oppened) and when this file gets closed any hiden bars are are unhide. The Cat.xls is then automatically on display but I can't get the bars to automatically hide again. I have tried to place the hide instruction in the "Activate", in the "WindowActivate", in the "SheetActivate" of "ThisWorkbook" as well as in the "GotFocus" of Sheet 1 but nothing works.
The instructions I use are:
Application.CommandBars(1).Enabled = *
Application.CommandBars("Standard").Visible = *
Application.CommandBars("Formatting").Visible = *
Application.DisplayFormulaBar = *
ActiveWindow.DisplayHeadings = *
* = True or False for Unhide and Hide
Thanks for the help!
Michele