Results 1 to 16 of 16

Sorting and filtering complex data (with a pivot table)

Threaded View

  1. #12
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Sorting and filtering complex data (with a pivot table)

    You could also create another sheet named Sheet2 and hide it

    Sub AdvFilterRecordMacro()
        With Worksheets("Sheet2")
            .Range("a1:c1") = Range("i4:k4").Value
            .Range("a2:c2") = Range("i5:k5").Value
            .Range("b2") = "*" & .Range("b2")
        End With
        Range("B4:D13").AdvancedFilter _
                Action:=xlFilterCopy, _
                CriteriaRange:=Worksheets("Sheet2").Range("a1:c2"), _
                CopyToRange:=Range("I7"), Unique:=False
    End Sub
    Last edited by mike7952; 09-25-2012 at 08:31 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

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