custom action

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?
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top