+ Reply to Thread
Results 1 to 2 of 2

filter to array not advanced filtering for second loop

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    filter to array not advanced filtering for second loop

    Code that advanced filters as a range copying the result back to the source area after clearing data. Works for 1 pass of "fil" but the debug.print in the immediate window shows me that the second filter is not being applied so the code over writes the source data with itself.

    Any pointers or a more elegant approach?? its basically 2 filters on different columns writing end data back to the source data area

    Please Login or Register  to view this content.
    Spotted it
    Please Login or Register  to view this content.
    Last edited by nigelog; 01-31-2019 at 09:08 AM.

  2. #2
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: filter to array not advanced filtering for second loop

    Far too slow on real data. Any idea on filtering the array rather than reading the filtered range into array and writing back

+ 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. Loop a recorded advanced filter macro through all worksheets
    By Bennett_Vic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2018, 10:56 AM
  2. [Advanced & theoretical] Filtering data in memory (array)
    By Bishonen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2017, 05:35 AM
  3. [SOLVED] Advanced Filtering Macro takes out the existing filter
    By sachins19 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-21-2014, 09:25 AM
  4. Replies: 3
    Last Post: 05-15-2011, 11:46 AM
  5. Excel 2007 : Loop Through Advanced Filter Unique Records
    By Wrecking_Crew in forum Excel General
    Replies: 5
    Last Post: 03-21-2010, 01:20 PM
  6. Replies: 0
    Last Post: 06-20-2007, 08:53 PM
  7. Use array to do advanced filter?
    By davegb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2005, 11:06 AM

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