Rusty
October 21st, 1999, 10:06 AM
I have a small VB6 application (similar to a calculator) that is intended to be a "tool" for Office users. I have read some about adding items to the Office menubar using the CommandBarControl object but have not found a good example of how to implement this.
Here's what I would like to do:
When the user launches the application, it will add a menu item for the application to the "Tools" menu in Word, Excel and Access. It would also be nice to have an icon added to the toolbar and to the Office Shortcut bar. The next time the user launches Word, they would see a menu item under "Tools" that points to my application. When this menu item is selected, it would launch my program.
Does anyone have an example of code that will do this?
Any help you could give me would be greatly appreciated.
Thanks.
Here's what I would like to do:
When the user launches the application, it will add a menu item for the application to the "Tools" menu in Word, Excel and Access. It would also be nice to have an icon added to the toolbar and to the Office Shortcut bar. The next time the user launches Word, they would see a menu item under "Tools" that points to my application. When this menu item is selected, it would launch my program.
Does anyone have an example of code that will do this?
Any help you could give me would be greatly appreciated.
Thanks.