Consulting

Results 1 to 7 of 7

Thread: Macros in dropdown menu in Menubar

  1. #1
    VBAX Contributor
    Joined
    Mar 2009
    Location
    Porto, Portugal
    Posts
    180
    Location

    Macros in dropdown menu in Menubar

    Hi

    I have created a flying toolbar for all macros in a workbook.

    Is it possible to create a dropdown menu in menu bar with all activeworkbook macros, instead creating a flying toolbar or using buttons located is sheets?

    Thanks

  2. #2
    Anything is possible in VBA.
    E.g. you could write code that extracts all VBA subroutine names from a workbook. But I think that is overcomplicating things, as alt+F8 already gives you such a list.
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

  3. #3
    VBAX Contributor
    Joined
    Mar 2009
    Location
    Porto, Portugal
    Posts
    180
    Location
    Ok
    And the option to fix flying toolbar, for example, in the left side of screen?
    How do I do that?

  4. #4
    You mean put an existing toolbar somewhere or creating a custom toolbar?
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

  5. #5
    VBAX Contributor
    Joined
    Mar 2009
    Location
    Porto, Portugal
    Posts
    180
    Location
    Quote Originally Posted by Jan Karel Pieterse
    You mean put an existing toolbar somewhere or creating a custom toolbar?
    Whenever I open workbook, I want flying toolbar always appear in same place. In this case, in the left side of sheet screen

  6. #6
    Check out the Position, Left and Top properties of the commandbar object in VBA Help.
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

  7. #7
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Excel (pre-2007) command bars can be customized with a button to call the Macro dialog box.

    Using that feature might be more stable than a custom command bar.

Posting Permissions

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