Solved

Menu Clicks in Office Apps

Posted on 2002-07-22
4
145 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
Comment Utility
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
Comment Utility
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
Comment Utility
Hello vbPhil any update here?
0
 
LVL 2

Author Comment

by:vbPhil
Comment Utility
No activity.... but you tried.  Here are the points.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now