custom action

A

adubb

I have a button on a custom email form that I designed. When that button is
clicked, it opens a new instance of that email form. What I want it to also
do is to populate the "To:" field automatically. Any ideas?
 
S

Sue Mosher [MVP-Outlook]

Function Item_CustomAction(ByVal Action, ByVal NewItem)
If Action.Name = "Name of your action" Then
NewItem.To = "[email protected]"
NewItem.Display
End If
End Function


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top