Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,074
- Office Version
- 2019
- Platform
- Windows
After auto-filtering my data, I would like to select (goto) the last filtered row. how can I do this in VBA
Sub LastFltrRow()
With ActiveSheet.AutoFilter.Range.SpecialCells(xlVisible)
With .Areas(.Areas.Count)
.Rows(.Rows.Count).Select
End With
End With
End Sub
Range("A7:S" & lRow).LineStyle = xlContinuous