Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set up contract expiration dates program?

How can I set up a program in Excel to help me track Contract Expiration dates?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Set up contract expiration dates program?

Try using the conditional formatting on the sheet in question - set the
condition less than and the fomula to =now()

Or in VBA try something like the following, here cells C1 to C50 are set to
be coloured white text on a red background if the date in the cell is less
than the system date (todays).

With Range("C1:C50")
.FormatConditions.Add Type:=xlCellValue, Operator:=xlLess,
Formula1:="=NOW()"
.FormatConditions(1).Font.ColorIndex = 2
.FormatConditions(1).Interior.ColorIndex = 3
End With


--
Cheers
Nigel



"wastedwings" wrote in message
...
How can I set up a program in Excel to help me track Contract Expiration

dates?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expiration dates Deeno Excel Worksheet Functions 7 July 9th 09 01:42 AM
Using contract start/end dates and calculating annual contract day Redcon Excel Discussion (Misc queries) 3 April 19th 08 12:03 AM
Contract/Notice Dates MLC Excel Discussion (Misc queries) 2 October 25th 07 05:25 PM
Calculating earliest start and latest end dates by contract Data Analyst Excel Worksheet Functions 4 June 4th 07 11:23 PM
sheet with expiration dates expiration dates Excel Discussion (Misc queries) 1 August 4th 05 11:10 PM


All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"