Results 1 to 8 of 8

Remove Selected Auto Filter

Threaded View

  1. #1
    Registered User
    Join Date
    02-26-2015
    Location
    Bradford, England
    MS-Off Ver
    Microsoft Office 2010
    Posts
    58

    Remove Selected Auto Filter

    Good Morning,

    I have recorded a macro to remove the filters from a selected row and then re-apply to a selected column.
    It's the first time I've had a go recording a macro and it can take an age to complete.

    Could anyone offer something that might work a bit quicker.

    This is what I have done.

    Sub Filter()
    '
    ' Filter Macro
    '
    ' Keyboard Shortcut: Ctrl+m
    '
        Range("A4:V4").Select
        Selection.AutoFilter
        Range("A4:V4").Select
        Selection.AutoFilter
        ActiveSheet.Range("$A$4:$V$20019").AutoFilter Field:=19, Criteria1:="No"
    End Sub

    If possible i'd also like it to run when you open the workbook and with a keyboard shortcut of [Ctrl] + m

    Thank you for any help you can provide.

    Tom
    Last edited by moni_tm; 06-03-2016 at 03:50 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how can wirte a code for auto filter using vba for a selected Rows
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-02-2015, 09:21 AM
  2. Auto filter Drop down does not work or even get selected
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2014, 09:53 AM
  3. Auto filter on another sheet is remove.
    By GEMINI528 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2013, 12:48 PM
  4. Auto filter using selected criteria from a listbox
    By pearce.nz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2013, 04:20 PM
  5. how write to rows selected by auto/advanced filter in VBA code
    By xdalibor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2011, 11:28 AM
  6. Auto Filter on selected row
    By johnlovesbeer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2009, 05:02 AM
  7. Replies: 1
    Last Post: 11-22-2005, 11:15 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