rjplante
Well-known Member
- Joined
- Oct 31, 2008
- Messages
- 574
- Office Version
- 365
- Platform
- Windows
I have some code listed below and I want to have it search through the list and stop when it finds a match and scroll to that row. It flags on the highlighted line and I don't know what to do to ix it.
Thanks,
Robert
Thanks,
Robert
Rich (BB code):
Dim dRow As Range
Range("A:A").Find(Range("AA10").Value, LookIn:=xlValues).Select
Set dRow = ActiveRow.Value
' Scroll to cell A1
With ActiveWindow
.ScrollColumn = 1
.ScrollRow = dRow
End With