Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,075
- Office Version
- 2019
- Platform
- Windows
this code to search with in range and update the information. I have only 1 item in the range and it says there is nothing? Can someone assist to correct this problem.
Thank you
Thank you
Code:
SearchString = ListBox1.Column(1, ListBox1.ListIndex) Set SearchRange = Range("T18:T" & LRow).Find(SearchString, LookIn:=xlValues, lookat:=xlWhole)
EE = True
If Not SearchRange Is Nothing Then
SearchRange.Offset(0, -1).Value = Format(tbDate, "mm/dd/yyyy")
SearchRange.Offset(0, 0).Value = lbTID
SearchRange.Offset(0, 1).Value = CDbl(Amnt)
End If