Solved

Menu Clicks in Office Apps

Posted on 2002-07-22
4
146 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA loop through headers using value 3 56
Access query that references subform 5 43
Microsoft Access combo box help 2 37
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 45
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

932 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

12 Experts available now in Live!

Get 1:1 Help Now