I'm wondering how you convert a string that a user enters into a text box to a date
so if I'm using this line of code to take the users input
I want the text that they enter (01/01/2012) to be converted to a date so that it can be compared to other dates.
Thanks In advance
- DeusXv
so if I'm using this line of code to take the users input
Code:
If .Value = CDate(DateSearch.TextBox1.Text) Then
.Offset(0, 1).Copy Destination:=Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1)
I want the text that they enter (01/01/2012) to be converted to a date so that it can be compared to other dates.
Thanks In advance
- DeusXv