Ragu Raman
Posts: 2
Joined: 2008-05-13
|
Hi,
I want to block sending a workbook thro mail from Excel itself.
i.e.
File
-> Send To - > Mail Receipient
What is the event associate with the "Send To" menu click action
or is there any other way to capture the click event of "Send To" mail
in Excel
For Excel Addin there are some of the event as like
a. AppEvents_WorkbookActivateEventHandler
b. AppEvents_WorkbookBeforeCloseEventHandler
etc.
like that what is the event for sending mail.
Or How could i achieve this , in any other way(other than macros) using VSTO Excel Addin
Note : Macro's should not be used here. |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Hi Ragu.
You need to use the OnActionEx event handler of the ADXBuiltInControl component to disable the standard action of the built-in control. The Id of the 'Send To -> Mail Receipient' item is 3738. |
|
Ragu Raman
Posts: 2
Joined: 2008-05-13
|
Hi Sergey,
Is this event handler is for Office version 2003? because i am using office version 2003.
I tried to search for this "OnActionEx" event handler of the ADXBuiltInControl component. I was not able to get exact result from MSDN and also in google.
If possible please refer me a link where i can get articles and coding snippets regarding this.
Please suggest.
Thanks. |
|
Sergey Grischenko
Add-in Express team
Posts: 7233
Joined: 2004-07-05
|
Ragu, the ADXBuiltInControl component is the component defined in the Add-in Express library. Please add the component to the addinmodule and double click on the ActionEx event in the Properties window. |
|