Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have textbox1 that will hold a date value entered by user.
I have a named range "PayWeek5" that shows a series of dates. I want to do an If-Then that compares the date entered by user to the dates in the range "PayWeek5". If the date from the testbox matches any one of the dates in the range, then..... Here's a simple example of what I need. I've looked in this site, but could not see anything like what I'm looking for. If TextBox1.Value = Range "PayWeek5".Value then 'matching any of the dates in the range. ActiveCell.Offset(0, 1).Select ActiveCell.Value = TextBox2.Value 'enters value in textbox2 Thanks jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum values in columns based on values in named range | Excel Worksheet Functions | |||
Comparing a range of values | Excel Discussion (Misc queries) | |||
Save Textbox into Named Range | Excel Programming | |||
Comparing Values in Range M | Excel Programming | |||
Comparing Values in Range M | Excel Programming |