Results 1 to 4 of 4

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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?

  2. #2
    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
  •