Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,075
- Office Version
- 2019
- Platform
- Windows
I'm trying to limit the range using Columns("A18:A" & LRow) , however i'm getting an error. The below code works fine, however I'm wondering is it not possible to limit the range from a specific row?
Code:
,
SearchRange As Range
LRow as long
LRow = Range("A" & Rows.Count).End(xlUp).Row
Set SearchRange = Columns("A:A").Find(cbName, LookIn:=xlFormulas, LookAt:=xlWhole)
If Not SearchRange Is Nothing Then
lbName = SearchRange.Offset(0, 1)
End If