Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default conditional formatting highlight the cell today's date

The range("B2:H2") contains dates.

Can I use conditional formatting to highlight the cell which contains today'
s date?



thanks,

tegger




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default conditional formatting highlight the cell today's date

Yes - use conditional formatting.

Left box - select Cell value is
Middle box - select equal to
Right box - enter = Today()

Then select your format

GB

"tegger" wrote in message
...
The range("B2:H2") contains dates.

Can I use conditional formatting to highlight the cell which contains

today'
s date?



thanks,

tegger






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default conditional formatting highlight the cell today's date

thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default conditional formatting highlight the cell today's date

Doesn't work with me in XL XP ?
Any idea what goes wrong ?

Regards,

H.G. Lamy

"tegger" schrieb im Newsbeitrag
...
thanks




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default conditional formatting highlight the cell today's date

You could try using the formula:

=(C2=Today())

Assuming you are formatting cell C2
GB

"hglamy" wrote in message
...
Doesn't work with me in XL XP ?
Any idea what goes wrong ?

Regards,

H.G. Lamy

"tegger" schrieb im Newsbeitrag
...
thanks








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default conditional formatting highlight the cell today's date

You could have a time value as well in the cell.

If you format the cell as general, does it contain an integer like 37910
or does it contain a decimal as well such as 37910.25

The test described tests if it contains 37910 and would fail if it contained
37910.25

37910 is the date serial number stored for Oct 16, 2003

It is like testing if
=Today()=Now()

They would only be equal at midnight.

--
Regards,
Tom Ogilvy

"hglamy" wrote in message
...
Doesn't work with me in XL XP ?
Any idea what goes wrong ?

Regards,

H.G. Lamy

"tegger" schrieb im Newsbeitrag
...
thanks






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
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Conditional Formatting based on Today's Date MCouture Excel Discussion (Misc queries) 3 May 20th 08 02:46 PM
How do I highlight today's date in a monthly schedule spreadsheet. munch Excel Discussion (Misc queries) 2 August 9th 07 04:46 PM
How do I highlight today's date in a monthly schedule spreadsheet. munch Excel Discussion (Misc queries) 0 August 8th 07 07:00 PM
How do I highlight a cell using conditional formatting and dates shane561 Excel Worksheet Functions 6 December 27th 05 03:56 AM


All times are GMT +1. The time now is 03:28 PM.

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

About Us

"It's about Microsoft Excel"