+ Reply to Thread
Results 1 to 2 of 2

Filter data type mismatch? Filter column of numbers from criteria on 2nd sheet w/ wildcard

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    CA
    MS-Off Ver
    2011
    Posts
    73

    Angry Filter data type mismatch? Filter column of numbers from criteria on 2nd sheet w/ wildcard

    I have this line where the input for E8 can be blank or contain a number

    blank cell
    0
    0.34
    23.43
    234.43
    234.23423

    etc

    I have this code for a filter

    Sheets("sheet2").Range("A:A").AutoFilter Field:=2, Criteria1:="*" & Sheets("sheet1").Range("E8") & "*"

    Which searches Field 10 which is data stored as numbers
    The result is always a 0 return, this must be a data type mismatch?
    Testfilter.xlsb

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Filter data type mismatch? Filter column of numbers from criteria on 2nd sheet w/ wild

    hi sdl2, may be it should be

    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)

Similar Threads

  1. Replies: 6
    Last Post: 10-16-2014, 08:42 AM
  2. Filter array type mismatch
    By stylecrazy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2013, 09:16 AM
  3. Replies: 2
    Last Post: 02-14-2013, 11:06 PM
  4. type mismatch while trying to filter and copy rows and paste to another worksheet
    By perducci in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2012, 02:59 PM
  5. [SOLVED] Need: filter, paste info to new sheet, rename sheet, unfilter, hide column, filter next
    By esmithqg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2012, 04:49 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