I am using vlookup to return a date from my spreadsheet. I have tried to convert the date to Long by using CLng & CDate in my code, but I am still getting a type mismatch error.
Here is my code:
Private Sub TextBox9_Change()
Dim wsJournal As Worksheet
Dim MyDate As Long
Set wsJournal =...