Private Sub ListBox1_Click()
asset = Me.ListBox1.Value
ThisWorkbook.Sheets("AssetPurchase").Activate
sl = Range("I7", "I500").Find(asset).Row
Me.TextBox2.Value = Range("H" & Range("I7", "I500").Find(asset).Row).Value
MsgBox (Range("I7", "I500").Find(asset).Row)
End Sub
I'm using the above sub to switch worksheets and then search a range for a string
The problem I'm having is that the cells in this range are calculated from the content of other cells and find() is searching the formulas in the range not the output of the formulas
I would like the output of the formulas within a range to match a string