In code???
One way:
Option Explicit
Sub testme()
Dim myCell As Range
Set myCell = Nothing
On Error Resume Next
With ActiveSheet.AutoFilter.Range
Set myCell = .Resize(.Rows.Count - 1, 1).Offset(1, 0) _
.Cells.SpecialCells(xlCellTypeVisible).Cells(1)
End With
On Error GoTo 0
If myCell Is Nothing Then
'do nothing
Else
MsgBox myCell.Row
'mycell.entirerow.select '????
End If
End Sub
(No validation to make sure the worksheet is filtered.)
Shane Moore wrote:
I have an autofilter on a column with 300+ rows.
If I filter on that column, how can I reference/extract the contents of
the very first row returned from the filter even when that first row may
have an 'actual' row number of 178 (or whatever)?
Thanks,
Shane.
--
Shane Moore
------------------------------------------------------------------------
Shane Moore's Profile: http://www.excelforum.com/member.php...o&userid=36421
View this thread: http://www.excelforum.com/showthread...hreadid=571682
--
Dave Peterson