+ Reply to Thread
Results 1 to 4 of 4

Macro code to filter by today AND tomorrow

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Macro code to filter by today AND tomorrow

    Hi all, I have some current code below which filters all results by today, but is there any way to amend this to include today AND tomorrow?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Macro code to filter by today AND tomorrow

    Something like,
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Re: Macro code to filter by today AND tomorrow

    Hi Davesexcel, unfortunately returned an Run time error 1004. Autofilter method of range classed failed

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Macro code to filter by today AND tomorrow

    There may be some info that has not been communicated, you may have to supply a sample as it does work on my example.

+ 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: 10
    Last Post: 09-06-2023, 08:19 PM
  2. Conditional formatting for Today and Tomorrow
    By alipezu in forum Excel General
    Replies: 1
    Last Post: 01-24-2017, 02:03 AM
  3. [SOLVED] Make TODAY() not change tomorrow?
    By CSPENCER in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2015, 06:54 PM
  4. Replies: 6
    Last Post: 09-29-2014, 12:35 PM
  5. [SOLVED] VBA code to select today() onwards from filter
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-18-2014, 06:39 AM
  6. [SOLVED] Code to auto filter three month segments of data from today's date
    By gryffin13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2012, 04:51 PM
  7. [SOLVED] Way to have VB code to filter on entries that have cell with today's date?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-17-2005, 09:06 AM

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