Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Feb 2003
    Posts
    363
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have an Office Live toolbar that automatically appears in my menu bars when I open Excel. For one of my applications, I want VBA code to hide this toolbar in the Opening procedure. Can you provide me with such code.

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    I don't have the Office Live toolbar myself, so I can't test it, but try the following code in the Workbook_Open event procedure in the ThisWorkbook module:

    Code:
    Private Sub Workbook_Open()
      Application.CommandBars("Office Live Toolbar").Visible = False
    End Sub
    Change "Office Live Toolbar" to the name exactly as it appears in the Customize dialog.

  3. #3
    3 Star Lounger
    Join Date
    Feb 2003
    Posts
    363
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This works. Thanks

    Application.CommandBars("Microsoft Office Live Add-in").Visible = False

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •