Results 1 to 5 of 5

Run Time Error 1004: Autofilter method of range class failed

Threaded View

  1. #1
    Registered User
    Join Date
    11-04-2010
    Location
    Illinois
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    86

    Run Time Error 1004: Autofilter method of range class failed

    Hello all,

    I am working on a project in Excel 2010/2007 however the final product will be utilized on a computer that has Excel 2003. I say all this because I think this is the culprit for this error message:
    [/B]Run time error '1004' Autofilter method of Range class failed[/B]
    and when I debug, it points me to this part of the code:

    Range("A3:W3").Select
            Selection.AutoFilter
            With Selection
                .AutoFilter _
                Field:=2, _
                Criteria1:=DItem 'this set the fist filtered data for the value
            End With
    Can someone tell me how I can fix this problem? Thnx.

    -HP RodNuclear
    Last edited by HP RodNuclear; 12-15-2010 at 11:58 AM.

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