Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm working on an If Then statement that compares date values. I've currently got the following, but it isn't working. Thanks for any help you might provide. - Louis ------------------------------------- fillamt = UserForm1.TextBox6.Value For j = 2 To fillamt Cells(j, 1).Value = Cells(j - 1, 1).Value + 1 Cells(j, 1).NumberFormat = "m/d/yyyy" Cells(j, 2).Value = Cells(j - 1, 2).Value + 1 Cells(j, 2).NumberFormat = "ddd" If Cells(j, 2) = "Sat" Then Cells(j, 4).Select ActiveCell = "0" End If Next j |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HELP! I need to make an IF Statement comparing date/time fields.. | Excel Worksheet Functions | |||
If statement comparing times | Excel Worksheet Functions | |||
comparing text in if statement | Excel Programming | |||
Comparing values in two columns and displaying missing values in n | Excel Programming | |||
Macro for comparing 2 values (number and date) | Excel Programming |