Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I would like to compare a columns that contains date (2005/11/30)
to today's date. If it is, than increase a cell by one. I'm having problem with the format Private Sub Worksheet_Change(ByVal Target As Range) If Not Application.Intersect(Target, Columns("A1:A10")) Is Null Then ;so it skips the empty cells Application.EnableEvents = False if the cell is today's date than ;not sure of the format Range("A1").Value = Range("A1").Value + 1 Application.EnableEvents = True End If End Sub Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If cell is blank automatically enter today's date in the same cell | Excel Discussion (Misc queries) | |||
conditional formatting for cell date to equal today's date | Excel Worksheet Functions | |||
date in Cell to change colors if the date is beyond today's date | Excel Discussion (Misc queries) | |||
Referencing Cell Next To Today's Date Cell | Excel Discussion (Misc queries) | |||
text and today's date in 1 cell | Excel Discussion (Misc queries) |