+ Reply to Thread
Results 1 to 4 of 4

wildcard in advance filter VBA

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    wildcard in advance filter VBA

    Im trying to filter out vaules by date. currently this works fine, except i am not adding time to the filtered dates in the same cell (example: "7/06/2017 10:32:31 AM")
    I would like to still search for the date in the cells but I want the filter to ignore the time. I figured i could do this by adding an asterisk after the date as a wildcard, but have had no luck. Any Ideas?
    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: wildcard in advance filter VBA

    Perhaps insert 2 criteries - so the criteria range should be N10:M11 where...

    N11: = ">=Date1"
    M11: ="<=Date1+1"

  3. #3
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    Re: wildcard in advance filter VBA

    Quote Originally Posted by quekbc View Post
    Perhaps insert 2 criteries - so the criteria range should be N10:M11 where...

    N11: = ">=Date1"
    M11: ="<=Date1+1"
    could you elaborate on this a little? i am having trouble trying to figure out how to set this up

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: wildcard in advance filter VBA

    Try the attached. I'd type more but I keep getting blocked by the $@#$# Sucuri Firewall
    Attached Files Attached Files

+ 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. [SOLVED] Cant filter 2 columns even with advance filter
    By pingpong1 in forum Excel General
    Replies: 19
    Last Post: 07-03-2015, 04:40 PM
  2. advance filter
    By billisnice in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2015, 12:11 AM
  3. Replies: 1
    Last Post: 12-12-2014, 06:46 AM
  4. [SOLVED] Advance Filter help
    By buwa84 in forum Excel General
    Replies: 5
    Last Post: 07-16-2013, 04:46 PM
  5. Advance Filter
    By tt388 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-28-2008, 07:32 AM
  6. Advance Filter
    By betmck in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2007, 02:48 PM
  7. Advance filter search does not filter an exact match
    By cfiiland in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2005, 08:05 AM

Tags for this Thread

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