Solved

Menu Clicks in Office Apps

Posted on 2002-07-22
4
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

688 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