![]() |
Take over menus
Hi,
In Word it is possible to take over the menus by adding a subrutine FileNew, FileOpen or similar. However, I cannot find anything like this in Excel. Does anyone have any suggestions on how to accomplice this? I know that I can manually use "Customize..." and assign a macro to a menu, but can this be done automatically at startup? I need to assign new macros to both FileOpen and FileSaveAs to 100+ users, so I don't want to run around to each machine and do the customization manually ;-) Best regards Ole Sorensen |
Take over menus
No. You have to replace the existing commandbar button or assign it to your
macro. -- Regards, Tom Ogilvy "O. Sorensen" wrote in message om... Hi, In Word it is possible to take over the menus by adding a subrutine FileNew, FileOpen or similar. However, I cannot find anything like this in Excel. Does anyone have any suggestions on how to accomplice this? I know that I can manually use "Customize..." and assign a macro to a menu, but can this be done automatically at startup? I need to assign new macros to both FileOpen and FileSaveAs to 100+ users, so I don't want to run around to each machine and do the customization manually ;-) Best regards Ole Sorensen |
Take over menus
"O. Sorensen" wrote in message om... Hi, In Word it is possible to take over the menus by adding a subrutine FileNew, FileOpen or similar. However, I cannot find anything like this in Excel. Does anyone have any suggestions on how to accomplice this? I know that I can manually use "Customize..." and assign a macro to a menu, but can this be done automatically at startup? I need to assign new macros to both FileOpen and FileSaveAs to 100+ users, so I don't want to run around to each machine and do the customization manually ;-) Best regards Ole Sorensen You can create your own menus. Why would you want to actually take over a menu? http://msdn.microsoft.com/library/de...VSTCommBar.asp /Fredrik |
Take over menus
If the OP isn't working in Visual Basic .Net or C# .Net then
http://support.microsoft.com/default...02&Product=xlw How to customize menus and menu bars in Excel 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. Here is an article about creating commandbars with code: http://msdn.microsoft.com/library/techart/ofcmdbar.htm -- Regards, Tom Ogilvy "Fredrik Wahlgren" wrote in message ... "O. Sorensen" wrote in message om... Hi, In Word it is possible to take over the menus by adding a subrutine FileNew, FileOpen or similar. However, I cannot find anything like this in Excel. Does anyone have any suggestions on how to accomplice this? I know that I can manually use "Customize..." and assign a macro to a menu, but can this be done automatically at startup? I need to assign new macros to both FileOpen and FileSaveAs to 100+ users, so I don't want to run around to each machine and do the customization manually ;-) Best regards Ole Sorensen You can create your own menus. Why would you want to actually take over a menu? http://msdn.microsoft.com/library/de...VSTCommBar.asp /Fredrik |
Take over menus
Hi Tom and Fredrik,
Thanks, - I'll look into this. I have writting some VB.NET classes that handles some extra features in the saving-process (essentially like a document handling-system), which I want to impose on all users in my company. Therefore, I need to re-program their SaveAs to call my function before actually saving. BR Ole Sørensen, "Tom Ogilvy" skrev i en meddelelse ... If the OP isn't working in Visual Basic .Net or C# .Net then http://support.microsoft.com/default...02&Product=xlw How to customize menus and menu bars in Excel 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. Here is an article about creating commandbars with code: http://msdn.microsoft.com/library/techart/ofcmdbar.htm -- Regards, Tom Ogilvy "Fredrik Wahlgren" wrote in message ... "O. Sorensen" wrote in message om... Hi, In Word it is possible to take over the menus by adding a subrutine FileNew, FileOpen or similar. However, I cannot find anything like this in Excel. Does anyone have any suggestions on how to accomplice this? I know that I can manually use "Customize..." and assign a macro to a menu, but can this be done automatically at startup? I need to assign new macros to both FileOpen and FileSaveAs to 100+ users, so I don't want to run around to each machine and do the customization manually ;-) Best regards Ole Sorensen You can create your own menus. Why would you want to actually take over a menu? http://msdn.microsoft.com/library/de...VSTCommBar.asp /Fredrik |
All times are GMT +1. The time now is 08:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com