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,
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,