Hi there,
I have developed an Add-In which I would like to distribute throughout the company. On my computer I have developed a custom menu which calls the various macros in the add-in. The menu items also have icons.
I have figured out how to distribute the add-in itself but I can't figure out how to distribute the custom menu that calls the macros in it.
I know I could programatically generate a custom menu with "Application.CommandBars("Cell").Controls.Add" and so on but there are two disadvantages with doing it like this and I would like to know if there is an alternative way to distribute the menus. The disadvantages are the following:
- I haven't found a way to get the custom icons to appear in the custom menu when building it programatically.
- If possible I would like to avoid the need to execute the menu bilding code every time a user starts Excel (assuming they have the add-in installed).
I assume that an alternative exists because when I make the menu by hand on my computer there is no code involved. As such, the menu definition (along with the custom icons) must be stored somewhere on my system.
Does anyone know WHERE these menu definitions are stored? Can I simply make a copy of this file, put it in the coresponding directory on the user's computer so that the menu (along with the custom icons) is built in this way?
Thank you in advance for any help anyone can provide.
John
PS: I am using Excel 2003