Results 1 to 4 of 4

Thread: Using autofilters on discontiguois range of cells along a row.

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    9
    Rep Power
    0

    Using autofilters on discontiguois range of cells along a row.

    Hi! I would like to apply filters (funnels) to the following cell A9 to H9. and 09 using a macro launched by clicking on a shape.

    Can this be done without filtering cells I9 through N9?

    Thank you!

  2. #2
    Senior Member LalitPandey87's Avatar
    Join Date
    Sep 2011
    Posts
    222
    Rep Power
    14
    No for Autofilter as it will not allow you to filter data based on multiple selection but we can manage data filter part by using VBA UDF.

  3. #3
    Member p45cal's Avatar
    Join Date
    Oct 2013
    Posts
    94
    Rep Power
    12
    You can filter the whole A9:O9 range but hide the drop down arrows from any number of (even all) columns. Would this do?

  4. #4
    Member p45cal's Avatar
    Join Date
    Oct 2013
    Posts
    94
    Rep Power
    12
    Quote Originally Posted by p45cal View Post
    You can filter the whole A9:O9 range but hide the drop down arrows from any number of (even all) columns. Would this do?
    This snippet will hide the dropdown arrows of any existing autofilter on the active sheet for columns I to N:
    Code:
    FieldNo = 1
    For Each colm In ActiveSheet.AutoFilter.Range.Columns
      If colm.Column > 8 And colm.Column < 15 Then
        colm.AutoFilter field:=FieldNo, visibledropdown:=False
      End If
      FieldNo = FieldNo + 1
    Next colm

Similar Threads

  1. Replies: 4
    Last Post: 07-04-2013, 01:56 PM
  2. Delete Entire Row For All Empty Cells In Column
    By johnreid7477 in forum Excel Help
    Replies: 4
    Last Post: 06-15-2013, 05:50 AM
  3. Replies: 13
    Last Post: 06-10-2013, 09:05 AM
  4. Replies: 2
    Last Post: 02-11-2013, 08:13 PM
  5. Replies: 2
    Last Post: 09-24-2012, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •