Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Programmatically add menu item to Inspectors (2000)

    How can I coax VBA to add a menu item to the "Menu Bar" in the Inspector. I'd like have it add the item if it doesn't already exist. I can get it to do this with the Explorer, but not with any Inspector commandbar.

    --W

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Programmatically add menu item to Inspectors (2000)

    You might need to have an inspector window open, then:

    Set myCtrl = ActiveInspector.CommandBars("Menu Bar").Controls.Add(parameters)

    (More or less, I didn't try to dig up actual code...)

Posting Permissions

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