select the first cell containing data after using autofilter
Hi Experts !
How do I select the first cell containing data (if any) after using autofilter ?
thanks
ExcelExperts.comExcel Consultancy, VBA Consultancy, Training and Tips Call:+442081234832 |
|
Excel / VBA ConsultancyFree Training VideosFree SpreadsheetsExcel / VBA JobsNavigationWho's onlineThere are currently 0 users and 351 guests online.
New Excel Experts
Current Excel / VBA Jobs |
select the first cell containing data after using autofilterHi Experts ! |
Highest Ranked Users
Recent Blogs
ForumsRecent comments
User login |
try this
Sheets(1).Range("a1").CurrentRegion.SpecialCells(xlCellTypeVisible).Areas(2).Columns(1).Cells(1, 1).Select
nice 1 Ashish... I have a
I have a suggested improvement:
- to account for data with blank rows, and when the autofilter does not return anything
... however, a bug remains in that if blank cells are included in the autofilter, they're not selected