+ Reply to Thread
Results 1 to 3 of 3

Autofilter with International Dates

  1. #1
    Registered User
    Join Date
    09-22-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Autofilter with International Dates

    Hi all,

    I've created a macro that autofilters everything within the next 7 days of the current date along with several other criteria. It works perfectly on my computer in the US, but my UK counterpart seems to come up with incorrect rows. My guess is that it is a date formatting issue, but I'm not sure how to get around the problem. I have posted the macro below.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Dorset, UK
    MS-Off Ver
    Office 2003, Office 2007
    Posts
    131

    Re: Autofilter with International Dates

    You do need to format the date, maybe try this:
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: Autofilter with International Dates

    Convert your dates to Longs then everything will work:

    Please Login or Register  to view this content.
    Richard
    Richard Schollar
    Microsoft MVP - Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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