+ Reply to Thread
Results 1 to 2 of 2

VBA Filter for January

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    VBA Filter for January

    When you filter by a certain month, the macro recorder will log something like the code below. But if there is no "1/31/2014" in the data, then it will error out. How could I change this code to filter for January regardless?


    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: VBA Filter for January

    I found that by using the code below it will always filter the current month without erroring out.
    Please Login or Register  to view this content.

+ 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. january 1 birthdays
    By martindwilson in forum The Water Cooler
    Replies: 24
    Last Post: 12-03-2010, 12:02 PM
  2. Problems with the month on January..
    By Hodged in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2007, 12:55 PM
  3. returning value if month is January
    By jermsalerms in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-18-2006, 02:47 PM
  4. [SOLVED] Return day of week for 1 January
    By dalymjl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2006, 08:40 PM
  5. [SOLVED] January 2006
    By Howard in forum Excel General
    Replies: 12
    Last Post: 01-04-2006, 12:25 AM

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