Consulting

Results 1 to 3 of 3

Thread: Add ins Order

  1. #1

    Add ins Order

    HI, i have created som addins and usually I create a menu on the CommandBars("Worksheet Menu Bar") bar and its getting crowded so i decided to group them all in a popupbutton when the Group addin is installed but im not sure how to rearrange the way tha addins are installed, the ones that are installed before appear as independent menus on the mentioned bar and those that come after appear as buttons in the group menu popupbutton (as i want). is there any way i can control the way (order) addins are installed or do i have to do this by code inside the group addin by deleting the ones that are installed and loading them again? thanks

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hi there!

    They are installed in alphabetical order, by their filename.

    So if you wanted one to start them all, you could name your addin something like this ..

    1_MyAddin.xla

  3. #3
    VBAX Master TonyJollans's Avatar
    Joined
    May 2004
    Location
    Norfolk, England
    Posts
    2,291
    Location
    I can't say for Excel but in Word they are loaded in reverse alphabetical order.

    It is not, however, possible to guarantee the order of all the code which runs as Word does not wait for code in one AddIn to finish before loading the next and it depends what the code does. For example, if one AddIn is waiting for a user response, code in others still runs.

    If you want to be certain of the order in which things run, control it yourself.
    Enjoy,
    Tony

    ---------------------------------------------------------------
    Give a man a fish and he'll eat for a day.
    Teach him how to fish and he'll sit in a boat and drink beer all day.

    I'm (slowly) building my own site: www.WordArticles.com

Posting Permissions

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