• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

show status bar

i can't manage to work this
i want to see the status bar but not the workbook tabs

[Sub HideExcelItems()
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.Displaystatusbar = true
End Sub]
 
Try using Application instead of ActiveWindow
Code:
Sub HideExcelItems()
    ActiveWindow.DisplayWorkbookTabs = False
    Application.DisplayStatusBar = True
End Sub
 
no when i use command to hide it hides both

the all sub is
Sub HideExcelItems()
Application.DisplayFullScreen = True
Application.DisplayFormulaBar = True
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayHeadings = False
ActiveWindow.DisplayGridlines = True
Application.DisplayStatusBar = True
End Sub
 
just for the story and anyone that might consern

[Sub HideExcelItems()
Application.DisplayFullScreen = False
Application.DisplayFormulaBar = True
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayHeadings = False
ActiveWindow.DisplayGridlines = True
Application.DisplayStatusBar = True
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub]
 
Back
Top