Hello, new to VBA, so forgive my ignorance.
I created a spreadsheet which I am adding data and assigning a number to the data. I have a search setup to make sure the number I am assigning is not already used. It works great except it cannot differentiate between say 75 and 175 or 1075, which is a problem I can't figure out how to get around
Here is my line of code:
Set rngCust = ActiveWorkbook.Worksheets("Auction Items").Range("B6:B240").Find(Me.txtAddItem)
If rngCust Is Nothing Then
How do I get it to do an exact match to me.txtAddItem?
I created a spreadsheet which I am adding data and assigning a number to the data. I have a search setup to make sure the number I am assigning is not already used. It works great except it cannot differentiate between say 75 and 175 or 1075, which is a problem I can't figure out how to get around
Here is my line of code:
Set rngCust = ActiveWorkbook.Worksheets("Auction Items").Range("B6:B240").Find(Me.txtAddItem)
If rngCust Is Nothing Then
How do I get it to do an exact match to me.txtAddItem?