custom action

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Function Item_CustomAction(ByVal Action, ByVal NewItem)
If Action.Name = "Name of your action" Then
NewItem.To = "(e-mail address removed)"
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
 
Back
Top