View Single Post
  #4  
Old February 2nd 07, 08:50 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default If then statement

This requires writing VBScript code for the item, not just a formula. Use the CustomPropertyChange and PropertyChange events to monitor for changes in the desired properties, then set the ForegroundColor, etc. properties of the desired controls, as appropriate. See http://www.outlookcode.com/d/propsyntax.htm .

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

"Aggie G" wrote in message ...
In the form.

I have added several due dates for each action item (this is a field I
created on my custom task form) and what i want is if the reminder date and
the action item due date are the same, to have the action item date appear in
red and bolded on the form.

I have created a custom task form and i would like to create an if then
statement for the following:

If the a specified field A is equal to another field B, then the contents of
A will be bolded and red.

I have no idea how to write this, any ideas?

Aggie


Ads