+ Reply to Thread
Results 1 to 4 of 4

Auto Filter OFF in vba Code

  1. #1
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Auto Filter OFF in vba Code

    Hi

    I need to ensure that the Autofilter is not on on a list if data but the code
    Please Login or Register  to view this content.
    is extremely non descriptive

    if is "On" then it will be switched " Off" and visa-versa.

    also the "Selection." I have a problem with. I don't want to select as my data is on veryhiden worksheets and I never unhide it.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Filter OFF in vba Code

    Hi evertjvr

    This should work
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Re: Auto Filter OFF in vba Code

    Thank You Jaslake - This works and I did not need to change the name of the worksheet as my data is on Sheet2

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Filter OFF in vba Code

    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

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. Code to auto filter and copy to muliple in sheets
    By Angnz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 05:17 PM
  3. [SOLVED] Something wrong with Auto Filter code
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-15-2013, 07:18 AM
  4. [SOLVED] Vba Code: Copy Visible columns ( after using Auto Filter)
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2012, 03:28 PM
  5. Using VBA code to auto filter ?
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-26-2010, 03:43 PM
  6. Auto filter off code
    By pepito_1ton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2007, 12:10 PM
  7. Custom Auto Filter VBA Code
    By balamus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2005, 07:52 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