+ Reply to Thread
Results 1 to 3 of 3

Filter by date in cellrange

  1. #1
    Forum Contributor
    Join Date
    10-23-2014
    Location
    Kolding, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    169

    Filter by date in cellrange

    Hi

    Anyone who knows how to make a macro filter a coloum by dates in range. fx. if in cell T3:T9 is dates for last week..

    thanks in advance

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Filter by date in cellrange

    If F3:T9 and column F are real excel dates then something similar to:
    Please Login or Register  to view this content.
    shall do. otherwise there is standard suggestion:

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    10-23-2014
    Location
    Kolding, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    169

    Re: Filter by date in cellrange

    Thanks that looks easy
    i found this code myself which also works

    (number 3 is the column which i want to filter)

    Please Login or Register  to view this content.
    Last edited by MetteGaga; 05-19-2015 at 01:29 AM.

+ 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] How to set a 'Date Filter' on a field in the 'Report Filter' section of a Pivot Table?
    By Rhino_dance in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-28-2013, 11:01 AM
  2. Filter several pivot tables by one programmed date range filter in Excel 2003
    By olewka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2011, 11:49 AM
  3. print preview, passing cellrange into a Sub
    By Broesel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2009, 08:08 AM
  4. Great Combo Filter/Search form, cant get DATE filter to integrate. HELP
    By fau5tu5 in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2009, 05:05 PM
  5. Highlight & Copy Cellrange with Data
    By dignityy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-15-2006, 12:01 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