Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify Outlook SUBJECT properties

Status
Not open for further replies.

KerryJ

IS-IT--Management
Oct 16, 2001
1
AU
Being new to VBScript I'm struggling with the following:
In an Outlook form design (mail form), I'm trying to modify the properties of the SUBJECT field based upon certain conditions. (Eg. color, bold etc.)

Function Item_Send()
Subject = "This is a test message"
Subject.ForeColor = vbRed
End Function

Subject = "This is a test message" works fine, but it won't accept the following line to change the color.

The script error = "Object required: 'Subject'"

Any clues? Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top