Re: Updating Subject field using controls from message body
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Fri, 9 Jun 2006 08:51:36 -0400
Put code in the Item_Send event handler:
Function Item_Send()
Item.Subject = "new subject"
End Function
See http://www.outlookcode.com/d/propsyntax.htm if you need a primer on reading field values.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
<andrew@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:1149856442.728496.127040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Morning,.
I am developing a fault reporting form for my area. What i want to do
is include some code that will populate (when the message is sent) the
Subject field with some text and some values from fields in my form.
I have several fields, including Site Name and Contact Name and want
the subject to read "DES Query from (Contact Name) at (Site Name) on
(Date)"
I am sure this is simple, but I just don't know enough!
Andrew
- Follow-Ups:
- Re: Updating Subject field using controls from message body
- From: AndrewLivingston
- Re: Updating Subject field using controls from message body
- References:
- Prev by Date: Updating Subject field using controls from message body
- Next by Date: Re:Symantec vs. Outlook
- Previous by thread: Updating Subject field using controls from message body
- Next by thread: Re: Updating Subject field using controls from message body
- Index(es):
Relevant Pages
|