New to VBA and still trying to learn. I have a code to look in a column range and find if there is a numeric match for the value in a text box. It is working except for the problem I am having which is the formula is not finding an exact match. Example: I enter the number 61 in the text box. There is no 61 in the column range, but there is a 610, which the formula is recognizing as 61. Any help would be appreciated.
Dim rngCust As Range
Set rngCust = ActiveWorkbook.Worksheets("Auction Items").Range("B5:B180").Find(what:=Me.txtItem)
If rngCust Is Nothing Then
MsgBox "Item number does not exist"
Dim rngCust As Range
Set rngCust = ActiveWorkbook.Worksheets("Auction Items").Range("B5:B180").Find(what:=Me.txtItem)
If rngCust Is Nothing Then
MsgBox "Item number does not exist"