ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell offset for filtered list (https://www.excelbanter.com/excel-programming/377992-cell-offset-filtered-list.html)

[email protected]

Cell offset for filtered list
 
Hi all,

I would like to know the VBA code to move down a row in a filtered
list. I use the ActiveCell.Offset (1,0) method but the cursor moved to
a hidden (set by my filter) row. My current location is A1 (heading for
first column).

I tried lookup for SpecialCells, thinking this may have something to do
with the solution I want. Not succeeding. :(

Thanks for sharing your insights.

David


Dave Peterson

Cell offset for filtered list
 
Maybe you could just come down a row and check to see if that row is visible.
If it is, then stop. If it's hidden, then come down and test again.



wrote:

Hi all,

I would like to know the VBA code to move down a row in a filtered
list. I use the ActiveCell.Offset (1,0) method but the cursor moved to
a hidden (set by my filter) row. My current location is A1 (heading for
first column).

I tried lookup for SpecialCells, thinking this may have something to do
with the solution I want. Not succeeding. :(

Thanks for sharing your insights.

David


--

Dave Peterson


All times are GMT +1. The time now is 06:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com