Add macro to right click menu and get selected item in contacts 
Author Message
 Add macro to right click menu and get selected item in contacts
Hello
1st:
I want to add a macro in the rigth click menu of a contact item how can I do this?
I would an entry below "call contact" in this menu

2nd:
Then I would get the name and the phonenr of this item.
When I rigth click the contact, then select "call contact", this Form contains
the name and the phone number of the current selected contact.
Is there no way to do the same as this form does???

Regards Remo



Tue, 03 Jun 2003 14:27:17 GMT  
 Add macro to right click menu and get selected item in contacts
#1: Add a custom action on the (Actions) tab and put the code in the
Item_CustomAction event handler.

#2: You can use CommandBars to launch any menu command by its ID, something
like this:
Set CBCtl = _

  Application.ActiveExplorer.CommandBars.FindControl(ID:=2501)
   CBCtl.Execute

--
Sue Mosher, Outlook MVP
Author of
     Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
     Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com


Hello
1st:
I want to add a macro in the rigth click menu of a contact item how can I do
this?
I would an entry below "call contact" in this menu

2nd:
Then I would get the name and the phonenr of this item.
When I rigth click the contact, then select "call contact", this Form
contains
the name and the phone number of the current selected contact.
Is there no way to do the same as this form does???

Regards Remo



Tue, 03 Jun 2003 20:56:03 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Howto add a menu to right-click menu for an item

2. how to add item to right click menu?

3. Right Click PopUp Menu and dynamic menu Item

4. Right Click PopUp Menu and dynamic menu Item

5. How to customise right-click pop=up menu in Contacts folder

6. catching menu clicks and adding menu items

7. Select ListBox item with right click

8. Selecting an item in a listbox via a right mouse click

9. Right-Click selecting items in ListView

10. ListView: Right click selects item

11. Inbox right click menu item

12. Right-Click popup menus on items.

 

 
Powered by phpBB® Forum Software