Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Currently I am using the following code to hide command bars and everything else and it works fine, until someone tries to restore down or minimize excel, then the toolbars re-appear again. Is there anyway to stop this from happening? Code: -------------------- On Error Resume Next With Application .DisplayFullScreen = True .CommandBars("Full Screen").Enabled = False .CommandBars("Worksheet Menu Bar").Enabled = False .CommandBars("Cell").Enabled = False .DisplayFormulaBar = False .DisplayStatusBar = False End With With ActiveWindow .DisplayGridlines = False .DisplayHeadings = False .DisplayHorizontalScrollBar = False .DisplayVerticalScrollBar = False .DisplayWorkbookTabs = False End With On Error GoTo 0 -------------------- TIA british.assassin -- british.assassi ------------------------------------------------------------------------ british.assassi's Profile: http://www.excelforum.com/member.php...o&userid=28884 View this thread: http://www.excelforum.com/showthread...hreadid=486387 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
command code ( GOTO command) in formula | New Users to Excel | |||
Making a [semi] Dictator Application: Hiding Main Command Bar? | Excel Discussion (Misc queries) | |||
Pivot Table Error Message - "Command Text not set for command obje | Excel Discussion (Misc queries) | |||
Hiding a button when hiding rows | Excel Discussion (Misc queries) | |||
Hiding A Sheet Command Button With VBA | Excel Programming |