A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

If then statement



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 2nd 07, 07:51 PM posted to microsoft.public.outlook.program_forms
Aggie G
external usenet poster
 
Posts: 15
Default If then statement

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
  #2  
Old February 2nd 07, 08:17 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default If then statement

Bolded and red where? In the form? In a folder view?

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

  #3  
Old February 2nd 07, 08:34 PM posted to microsoft.public.outlook.program_forms
Aggie G
external usenet poster
 
Posts: 15
Default If then statement

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.

"Sue Mosher [MVP-Outlook]" wrote:

Bolded and red where? In the form? In a folder view?

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


  #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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.