+ Reply to Thread
Results 1 to 3 of 3

Selecting the cell below, with Filter on in VBA

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    1

    Selecting the cell below, with Filter on in VBA

    I have a sheet with the Filter on and the filter value set. I am selecting the filtered cells as a whole.
    But I dont want the header line selected. I am not able to figure out the code for the same.

    need Help!!!


    Thanks!!

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Selecting the cell below, with Filter on in VBA

    do you only want to selecte the filtered data, or do you want to include the unfiltered lines as well?

    this will only select visible data

    Range("A2:E200").SpecialCells(xlCellTypeVisible).Select

    where A2:E200 is the full range of your data starting bellow your headers
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Selecting the cell below, with Filter on in VBA

    Hello and welcome to the forum!
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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