Solved

Menu Clicks in Office Apps

Posted on 2002-07-22
4
148 Views
Last Modified: 2010-05-02
I thought that all my dreams had come true with COM AddIns.  I could add a menu item to the file menu, capture the click event in my DLL and process it to my hearts content.  That was, until I tried to make it work in Office 97 as well.

I need an "easy" way to add a menu item to Word/Excel/PowerPoint..., capture the click, so that I can "do something" in my external code (dll).  This needs to work the same in Office 97, 2000, 2002.  I cannot require the Office user to install/configure, etc.  I must be able to get this going via automation.

Any suggestions?
0
Comment
Question by:vbPhil
4 Comments
 

Expert Comment

by:DWE
ID: 7170395
listening ....

I tried to do this about 12 months ago and failed dismally ...

so I'll sit here and listen ....

DWE
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 200 total points
ID: 7171914
Well, just begins:
 The idea is just create the add-in in office 97, it should work in ahead versions:

Example 1:
http://msdn.microsoft.com/library/en-us/dnexcel9/html/xlcraddns.asp?frame=true
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7400578
Hello vbPhil any update here?
0
 
LVL 2

Author Comment

by:vbPhil
ID: 7545227
No activity.... but you tried.  Here are the points.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question