+ Reply to Thread
Results 1 to 4 of 4

Filter between two named ranged dates

  1. #1
    Forum Contributor
    Join Date
    10-09-2012
    Location
    Adelaide, South Australia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Filter between two named ranged dates

    Hi all,
    I can't work out for the life of me why this simple code isn't working.
    Any suggestions?

    Just rying to filter between the two named range dates set at the beginning of the code.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Filter between two named ranged dates

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    10-09-2012
    Location
    Adelaide, South Australia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: Filter between two named ranged dates

    Hi AlphaFrog,
    I am getting a compile error: object required.

  4. #4
    Forum Contributor
    Join Date
    10-09-2012
    Location
    Adelaide, South Australia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Re: Filter between two named ranged dates

    I have removed the "set' at the beginning and now the code is running.
    It is behaving strangely however, the filter is returning 0 results until I go into the filter again and run the settings already in the filter. Additionally it is applying dates in the named range in an American date format. The format I am using is dd/mm/yyyy.

    Do you run into problems like this often with different date formats?

+ 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. Lookup last value using a dynamic, non-named ranged
    By JayCee18 in forum Excel General
    Replies: 2
    Last Post: 08-28-2016, 07:35 PM
  2. [SOLVED] Filtered Drop Down List from named ranged
    By Kramxel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2015, 06:01 AM
  3. [SOLVED] Exclude values that contain text from a named ranged vba
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2015, 04:02 AM
  4. named ranged within named range
    By dluhut in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2014, 01:47 PM
  5. [SOLVED] named ranged - offset & counta
    By milo1984 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2014, 02:13 AM
  6. sumproduct on named ranged giving #VALUE! error
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2011, 10:02 PM
  7. Lookup Two Named Ranged
    By yawnzzzz in forum Excel General
    Replies: 3
    Last Post: 09-24-2010, 03:10 PM

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