+ Reply to Thread
Results 1 to 2 of 2

Autofilter Method of Range Class Failed

  1. #1
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    Autofilter Method of Range Class Failed

    Hi all,

    Using Excel 2007.

    I would like to delete all visible rows after autofilter, but my code is returning an error

    Run-time error'1004':
    AutoFilter method of Range class failed
    Debug points here

    Please Login or Register  to view this content.
    I'm not sure why?
    Full code below

    thx
    w

    Please Login or Register  to view this content.
    Kind regards,
    w

    http://dataprose.org

  2. #2
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    Re: Autofilter Method of Range Class Failed

    Solved.

    My biggest problem was that I did not have the correct range scoped in the original code
    I was using C1:C, it should have been A1:C

    Full revised code below
    Thx
    w

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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