I hope this is an easy question as I can't post and data due to the fact that it is classified.
I have a combo box (on a user form) with dates in it and on sheet2 in cell J is same dates. I want to do and if statement.
If the user picks a date in the combo box it goes through range("J" & i).
If combobox1.value = sheets(2).range("J" & i) then
Sheets(2).Range("B" & i).EntireRow.Copy
Sheets.Add After:=Sheets(Sheets.Count)
Sheets(3).Paste
End If
Next i
The dates look the same visually but it never gets past the if statement.
So for whatever reason...it is not recognizing the two dates as the same.
Thanks for any help.
Bookmarks