+ Reply to Thread
Results 1 to 4 of 4

Determine After Filter Row Numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    ROCHESTER, NY
    MS-Off Ver
    Excel 2007
    Posts
    21

    Determine After Filter Row Numbers

    Good Day ...

    Is there a way to automaticaly determine the final row number showing after a manual filter operation ? Or maybe getting a list
    of the row numbers showing on the screen.

    The project requires a macro that loops through only the rows of a filtered list, not all of the rows in the worksheet .

    Thanks.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Determine After Filter Row Numbers

    Hi,

    I generally use something like

    Formula: copy to clipboard
    lLastRow = Range("A" & Rows.Count).End(xlUp).row
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Determine After Filter Row Numbers

    Use range(Your range Here).specialcells(xltypevisible) option


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    08-26-2013
    Location
    ROCHESTER, NY
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Determine After Filter Row Numbers

    Thank you both for the quick reply. Since you both presented the same idea, I'm confident I can get it to work. But my boss has just pulled me onto a different project, so I won't be able to mark solved until tomorrow.

    Richard, I think we have met before. Nice to see you again. Sixthsense - nice to meet you.

    Rich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to filter couloms to determine rankings
    By Schalk in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-12-2014, 02:26 PM
  2. [SOLVED] Determine the numbers for lottery and how many will be drawn
    By marreco in forum Excel General
    Replies: 6
    Last Post: 12-11-2012, 08:48 AM
  3. [SOLVED] Determine whether number of positive numbers exceeds number of negative numbers
    By HRBP in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-04-2012, 09:49 PM
  4. How to determine if a cell contains numbers?
    By cdustybk in forum Excel General
    Replies: 2
    Last Post: 06-15-2011, 01:11 PM
  5. [SOLVED] how to determine how many numbers are greater than zero in a range
    By Inspector in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2006, 06:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1