Hi Guys,
I'm trying the select using vba the previous visible cell in a filtered sheet.
Here is a code I have that does exactly that but for the next cell below. I want to make it so that it select the previous one instead.
Anyone can help? Thank you so much for any help!
I'm trying the select using vba the previous visible cell in a filtered sheet.
Code:
Dim rng As RangeSet rng = Range(Cells(ActiveCell.Row + 1, 1), Cells(Rows.Count, 1))
rng.SpecialCells(xlCellTypeVisible).Cells(1).Select
ActiveCell.Offset(0, 17).Activate
Here is a code I have that does exactly that but for the next cell below. I want to make it so that it select the previous one instead.
Anyone can help? Thank you so much for any help!