I am trying to select the next visible row in a filtered range - using "activecell.offset(1,0).select" moves to the next numerical row, rather than the next visible row - any ideas?
On 2002-02-19 00:52, Anonymous wrote:
I am trying to select the next visible row in a filtered range - using "activecell.offset(1,0).select" moves to the next numerical row, rather than the next visible row - any ideas?
Thanks for your suggestion - I had been using the hidden=true? check.
The problem with this is that the range I am using is +10,000 rows and the filtered list is about 50 rows - so this check is very time consuming. When moving through a filtered list manually (hitting the down arrow) the next visible cell is selected, so I am sure there is a faster way to code this.
Any more suggestions would be greatly appreciated.
For Each Cell in Range("A1:A50000").SpecialCells(xlCellTypeVisible)
Next Cell
In about 5 minutes, this message is being moved to the general Excel section.
_________________ MrExcel.com Consulting This message was edited by MrExcel on 2002-02-19 02:33
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.