Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Custom Menu - Insert Where?
Greetings:
Still looking to find out how to specify where in the menu line-up, my custom menus will be placed. I have 5 custom menus, and more to come. It would be more than a little beneficial if I could locate them in a specific sequence on the menu line - easier to use that way. Questions: 1: Can this be done? 2: If yes, How? 3: Is it possible to create a 2nd menu line? 4: If yes, How? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Custom Menu - Insert Where?
http://www.j-walk.com/ss/excel/tips/tip53.htm
either use his method or look at the code to see how to work with commandbars: http://support.microsoft.com/default...b;en-us;830502 How to customize menus and menu bars in Excel http://support.microsoft.com/?id=159619 XL97: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/?id=213550 XL2000: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/default...b;en-us;166755 File Title: Customizing Menu Bars, Menus, and Menu Items in Microsoft(R) Excel 97 File Name: WE1183.EXE File Size: 58041 bytes File Date: 06/20/97 Keywords: kbfile kbappnote Description: This Application Note can help you learn techniques for writing Visual Basic(R) for Applications code to customize menus in Microsoft Excel 97. This Application Note contains code examples that you can use with the following elements: menu bars, menus, menu items, submenus, and shortcut menus. -- Regards, Tom Ogilvy "BEEJAY" wrote: Greetings: Still looking to find out how to specify where in the menu line-up, my custom menus will be placed. I have 5 custom menus, and more to come. It would be more than a little beneficial if I could locate them in a specific sequence on the menu line - easier to use that way. Questions: 1: Can this be done? 2: If yes, How? 3: Is it possible to create a 2nd menu line? 4: If yes, How? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Custom Menu - Insert Where?
Tom: Thanks for the prompt response.
Once again, I think I must have expressed myself unclearly. I have 5 top level menu Items, each with up to about 20 sub-levels 4 of the top level menus items were made with J-Walks Menu-Maker 1 was made the "simple" way - (non-VBA) Looking thru your suggested sites I could not find anything that would indicate answers to my specific questions, in light of the clarification just given. Am I again missing something simple here? "Tom Ogilvy" wrote: http://www.j-walk.com/ss/excel/tips/tip53.htm either use his method or look at the code to see how to work with commandbars: http://support.microsoft.com/default...b;en-us;830502 How to customize menus and menu bars in Excel http://support.microsoft.com/?id=159619 XL97: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/?id=213550 XL2000: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/default...b;en-us;166755 File Title: Customizing Menu Bars, Menus, and Menu Items in Microsoft(R) Excel 97 File Name: WE1183.EXE File Size: 58041 bytes File Date: 06/20/97 Keywords: kbfile kbappnote Description: This Application Note can help you learn techniques for writing Visual Basic(R) for Applications code to customize menus in Microsoft Excel 97. This Application Note contains code examples that you can use with the following elements: menu bars, menus, menu items, submenus, and shortcut menus. -- Regards, Tom Ogilvy "BEEJAY" wrote: Greetings: Still looking to find out how to specify where in the menu line-up, my custom menus will be placed. I have 5 custom menus, and more to come. It would be more than a little beneficial if I could locate them in a specific sequence on the menu line - easier to use that way. Questions: 1: Can this be done? 2: If yes, How? 3: Is it possible to create a 2nd menu line? 4: If yes, How? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Custom Menu - Insert Where?
If you are already using the menu maker (which you didn't previously state),
then Level Caption Position/Macro 1 &MyMenu 10 the 10 indicates to put it before the 10 controls After it runs: ? commandbars(1).Controls(10).Caption &MyMenu ? commandbars(1).Controls(11).Caption &Window ? commandbars(1).Controls(9).Caption A&ction So the &window controls was the 10th item on the menu. the menumaker placed the new menu before that one. The menu maker shows how to make the second line Put a 2 in the level column. The only reason you would not find the answers in the links for doing this outside the menu maker would be not making any effort to read them as they are the definitive documents for describing working with commandbars programmatically. If your looking for canned code examples written by someone else: http://tinyurl.com/hq37a should have loads of it. -- Regards, Tom Ogilvy "BEEJAY" wrote: Tom: Thanks for the prompt response. Once again, I think I must have expressed myself unclearly. I have 5 top level menu Items, each with up to about 20 sub-levels 4 of the top level menus items were made with J-Walks Menu-Maker 1 was made the "simple" way - (non-VBA) Looking thru your suggested sites I could not find anything that would indicate answers to my specific questions, in light of the clarification just given. Am I again missing something simple here? "Tom Ogilvy" wrote: http://www.j-walk.com/ss/excel/tips/tip53.htm either use his method or look at the code to see how to work with commandbars: http://support.microsoft.com/default...b;en-us;830502 How to customize menus and menu bars in Excel http://support.microsoft.com/?id=159619 XL97: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/?id=213550 XL2000: Sample Macros for Customizing Menus and Submenus http://support.microsoft.com/default...b;en-us;166755 File Title: Customizing Menu Bars, Menus, and Menu Items in Microsoft(R) Excel 97 File Name: WE1183.EXE File Size: 58041 bytes File Date: 06/20/97 Keywords: kbfile kbappnote Description: This Application Note can help you learn techniques for writing Visual Basic(R) for Applications code to customize menus in Microsoft Excel 97. This Application Note contains code examples that you can use with the following elements: menu bars, menus, menu items, submenus, and shortcut menus. -- Regards, Tom Ogilvy "BEEJAY" wrote: Greetings: Still looking to find out how to specify where in the menu line-up, my custom menus will be placed. I have 5 custom menus, and more to come. It would be more than a little beneficial if I could locate them in a specific sequence on the menu line - easier to use that way. Questions: 1: Can this be done? 2: If yes, How? 3: Is it possible to create a 2nd menu line? 4: If yes, How? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel 2007 add custom menu | Excel Discussion (Misc queries) | |||
Adding Sub Menu Item to Current Custom Menu | Excel Programming | |||
Excel 2003 bug? VBA custom menu disappearing | Excel Programming | |||
Custom Menu return to Excel Menu upon Closing | Excel Programming |