Solved

Menu Clicks in Office Apps

Posted on 2002-07-22
4
149 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

749 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