+ Reply to Thread
Results 1 to 2 of 2

Date filter before today plus 2 days ahead

  1. #1
    Registered User
    Join Date
    01-20-2015
    Location
    Great Yarmouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    8

    Date filter before today plus 2 days ahead

    Hi,

    I really need help with a spreadsheet at work.
    It is basically a list of sales orders that are taken from NAV18 via Microsoft Query along with comments that each department fills in to let us know the status of the sales order. This sheet gets refreshed often and updated manually at the moment, but I really need to figure out some VBA that will filter Column D (dates) to include all the items in the list before 2 days in the future. For instance today (Wednesday) all dates before that plus tomorrow and Friday and change dynamically daily.
    Is there any way VBA can help me with this? There are many non tech savvys along with myself at work, Ideally we just want to press the macro button to refresh sort and filter our data.

    Any help would be really appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Date filter before today plus 2 days ahead

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Marcos to select filter two weeks ahead of todays date plus blanks (and a button!)
    By Moggzy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-06-2020, 10:31 AM
  2. Filter just dates from today +5 days
    By matrixpom in forum Excel General
    Replies: 2
    Last Post: 10-30-2018, 04:24 PM
  3. VBA to filter from today's date + 4 business days
    By kop1ko in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2016, 07:20 AM
  4. vba to filter table by today's date up to 10 days. and save as new version
    By The Fly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2014, 02:15 PM
  5. [SOLVED] Create a macro to filter between today and the next 30 days
    By jonathan.haynes in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-05-2013, 05:08 AM
  6. Date Range and Formula identifing "X" amount of days ahead
    By dagindi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-07-2010, 08:42 AM
  7. Excel 2007 : Type date & formulae for 7 days ahead
    By lindalou in forum Excel General
    Replies: 2
    Last Post: 05-02-2009, 12:22 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