+ Reply to Thread
Results 1 to 7 of 7

Auto Filter error in VBA no idea why its happening

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    179

    Auto Filter error in VBA no idea why its happening

    Hi all i was wondering why i get a debug message on the following piece of code

    Post to cross link: http://www.ozgrid.com/forum/showthread.php?t=184674

    Please Login or Register  to view this content.
    the error occurs here:
    Please Login or Register  to view this content.
    and i dont know why as it works for the line before
    Last edited by joshnathan; 12-10-2013 at 08:36 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,091

    Re: Auto Filter error in VBA no idea why its happening

    Suggest you post a sample workbook.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    06-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    179

    Re: Auto Filter error in VBA no idea why its happening

    Producing one now will post when done.
    Thanks.

  4. #4
    Registered User
    Join Date
    08-08-2012
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Auto Filter error in VBA no idea why its happening


  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,091

    Re: Auto Filter error in VBA no idea why its happening

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  6. #6
    Forum Contributor
    Join Date
    06-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    179

    Re: Auto Filter error in VBA no idea why its happening

    Issue Resolved:
    It was to do with selecting the autofilter and then it deselected it before conducting the filter i fixed it by deleting one of the selections.

    This works
    Please Login or Register  to view this content.
    Last edited by joshnathan; 12-10-2013 at 08:28 AM.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,091

    Re: Auto Filter error in VBA no idea why its happening

    You never got round to posting a workbook. There are improvements that can be made, if you are interested.

    For example, this:

    Please Login or Register  to view this content.

    could be this:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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. Auto Filter Sorting Error
    By sinspawn56 in forum Excel General
    Replies: 4
    Last Post: 03-30-2009, 05:59 PM
  2. Compile error has suddenly started happening
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2007, 11:38 AM
  3. [SOLVED] Auto Recover is happening Twice
    By Jeff Lowenstein in forum Excel General
    Replies: 0
    Last Post: 10-11-2005, 06:05 PM
  4. [SOLVED] Compile Error: Strange happening
    By Don Rouse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2005, 05:05 PM
  5. Auto Filter Error
    By richardreye in forum Excel General
    Replies: 0
    Last Post: 01-05-2005, 11:17 PM

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