View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
StevenM StevenM is offline
external usenet poster
 
Posts: 23
Default Find first row number after filtering

I set up an autofilter and select the rows that have a blank value in the
column. that's fine. I want to go to the first selected row. When I record
a macro to go to the heading row and then arrow down once, the macro records
the actual row I end up in (A37 in this case). But I need to set a variable
as the next time I run (on a different file) it won't necessarily be A37.
How do I find the row number of the first row after the header row in an
autofiltered spreadsheet?

Appreciate any light you can shed. thanks in advance,
StevenM