Move to displayed row of filtered list

M

Michael Singmin

Hello Group,

If a list is filtered, can one move to the first displayed row after
the header row ?

Thanks,

Michael Singmin
 
J

John Wilson

Michael,

From a prior post by Tom Ogilvy......

John

<snip>
Sub GetFirst()
Dim rng As Range
Set rng = ActiveSheet.AutoFilter.Range
Set rng = rng.Offset(1, 0).Resize(, 1) _
.SpecialCells(xlVisible)
Set rng = Intersect(rng(1, 1).EntireRow, _
ActiveSheet.AutoFilter.Range)
rng.Select
End Sub
<snip>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top