Hi
Can someone help me on the following codes ?
Private Sub CheckButton_Click()
Dim title As String
SearchName = OccpyNameTextBox.Value
title = Application.VLookup(SearchName, Table_DSTALIST, 2, False)
MsgBox title
End Sub
Seems like VBA don't recognise SearchName, it always return error 1004
What is the correct VBA Vlookup statement to use ? how to handle #N/A if it is not found