+ Reply to Thread
Results 1 to 5 of 5

Identify Hidden but not filtered cells

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Post Identify Hidden but not filtered cells

    I am trying to extract all the visible worksheets in a few workbooks into double pipe delimited text files. For this I want to take into consideration only the cells that are 'not hidden' on a worksheet.

    As per my understanding a cell can be hidden when:
    - either its row / column has been manually hidden by user
    - or its row has been filtered out due to autofilter applied on header or either of the columns

    I want to exclude the manually hidden rows / columns but want to take into consideration the rows that have got hidden due to the applied autofilter.

    Can someone suggest me on how to identify cells of this kind. I am currently using the following code, but this leaves out the cells hidden by autofilter as well.


    Please Login or Register  to view this content.
    Any prompt help on this shall be highly appreciated!!
    Last edited by anshul03; 05-05-2012 at 03:45 PM. Reason: Highlighing the code

  2. #2
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Identify Hidden but not filtered cells

    I believe Excel does not make a difference between a Hidden/Filtered cells/row both are "Hidden"; However you may be able to test the intersection of EntireColumn being Hidden and the row.

    This one is definitely for the GURU's
    Ted
    "Live Long and Prosper"

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Identify Hidden but not filtered cells

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    04-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Identify Hidden but not filtered cells

    Thanks royUK for the suggestion. While posting the thread I actually was looking for ways to keep the formatting of code intact but was not able to figure it out. Your guidance definitely helped on that.

  5. #5
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Identify Hidden but not filtered cells

    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

+ 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