Results 1 to 2 of 2

filtering issues - help!

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    filtering issues - help!

    hi all

    i have the following macro that filters based on the selected criteria by the user in cell C7 of the "2012 consolidation" worksheet.

    i.e. in column C13:C1300 i have a list of ppl names. cell C7 contains a list the user can filter by - cell c12 contains the filter button...however on the worksheet "2012 consolidation" the macro does not filter!!

    can someone pls help?!

    Sub Filter_name()
        Dim c As Long
        
            Application.ScreenUpdating = False
        
        With Range("_Data").CurrentRegion
            .AutoFilter
            For c = 1 To .Columns.Count
                .AutoFilter Field:=c, VisibleDropDown:=False
            Next c
            .AutoFilter Field:=3, Criteria1:=Range("Link").Value, VisibleDropDown:=False
        End With
        
            Application.ScreenUpdating = False
        
        Range("Header") = "Filtered by: NAE Name"
        
    End Sub
    thx u so much...ive been struggling with this for the past 3 days!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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