+ Reply to Thread
Results 1 to 3 of 3

Fill Array with data in visible cells in column

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Fill Array with data in visible cells in column

    I have filtered a column based on certain criteria. Next I want to store the data of the visible cells in column A so I can use those values (numbers) as criteria for a new filter on a different sheet.

    The code I have so far works for the largest part: only I can't seem to refer to the right rownumbers of the visible rows after the first autofilter... How can I refer to the visible rownumbers?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Fill Array with data in visible cells in column

    Hi Jeroen,

    As far as I know there is not such thing as a collection of "only visible" cells. You will have to loop through the individual rows and check the height of the cell to determine whether the cell is visible or not.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Fill Array with data in visible cells in column

    Thanks ollie

    I think I know How to creatie a loop, but How do I go from visible row to the next visible row?

    Many thanks

+ 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. [SOLVED] Problems to store visible cells into array
    By cgkmal in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-11-2014, 08:21 PM
  2. [SOLVED] VBA Auto fill visible cells (filtered)
    By boss1982 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-17-2014, 10:34 AM
  3. Creating array of specialcells(visible) returns only first x cells
    By Bishonen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-27-2013, 11:04 AM
  4. Replies: 2
    Last Post: 06-05-2012, 01:04 PM
  5. Replies: 0
    Last Post: 01-02-2008, 08:55 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