Assuming you have an open item where you want this macro to work:
Public Sub PasteMe()
Dim oBar As Office.CommandBar
Dim oButton As Office.CommandBarButton
Set oBar = Application.ActiveInspector.CommandBars.Item("Menu Bar")
Set oButton = oBar.FindControl(Id := 755, Recursive := True)
oButton.Execute
End Sub
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by M ShafaatHi,
How can I write a macro in Outlook 2003 to perform the menu command
"Edit/Paste Special/Text"?
Regards
M Shafaat