Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I move down a row, after the data has been filtered?
Offset - takes me down into the hidden rows. Moiz |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Moiz,
Try the following code provided by Tom Ogilvy: '================ Sub AutoFilterSelectNext() Dim rng As Range, Rng1 As Range Dim iCol As Long iCol = ActiveCell.Column Set rng = ActiveSheet.AutoFilter.Range Set rng = Intersect(rng, Columns(iCol)) If rng Is Nothing Then Exit Sub Set rng = Range(ActiveCell.Offset(1, _ iCol - ActiveCell.Column), rng(rng.Count)) On Error Resume Next Set Rng1 = rng.SpecialCells(xlVisible) On Error GoTo 0 If Not Rng1 Is Nothing Then Rng1(1).Select End If End Sub '<<================ --- Regards, Norman "Moiz" wrote in message ... How do I move down a row, after the data has been filtered? Offset - takes me down into the hidden rows. Moiz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
offset data markers | Charts and Charting in Excel | |||
Excel - data autofilter, then data sort how do you view all | Excel Discussion (Misc queries) | |||
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul | Excel Worksheet Functions | |||
Using offset to align data? | Excel Discussion (Misc queries) | |||
Chart / Scrollbar / Offset / Autofilter | Charts and Charting in Excel |