Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sub-menus of main menus for Excel 2007 | New Users to Excel | |||
Creating Drop-down menus with subset drop-down menus | Excel Worksheet Functions | |||
difference between word 2003 menus and word 2007 menus-Explain pl | Excel Discussion (Misc queries) | |||
New Menus - attaching but menus are reset | Excel Worksheet Functions | |||
Overriding Actions of Excel DropDown Menus and Poup Menus | Excel Programming |