Consulting

Results 1 to 3 of 3

Thread: Disabling Toolbars in 2003

  1. #1
    VBAX Newbie
    Joined
    Mar 2010
    Posts
    2
    Location

    Disabling Toolbars in 2003

    I have some code that successfully disables all toolbars when the user opens the workbook and then re-enables when it is closed. If this workbook is opened whilst another workbook (without the code) is already open and I switch between workbooks then the toolbars now are enabled when I need them to be disabled.

    Is it possible for the toolbars to remain disabled in the workbook where my code is even if I switch back and forth from a workbook that doesn't require toolbars to be disabled?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    ADd the same code to the workbook_activate event.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Mar 2010
    Posts
    2
    Location
    Thanks, that worked perfectly.

Posting Permissions

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