J
jeff
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
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