+ Reply to Thread
Results 1 to 4 of 4

Need Code to Autofilter table and show every date in month selected in cell

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Need Code to Autofilter table and show every date in month selected in cell

    Macro on attached file "hard wires" the autofilter for Col A of the table to show only any date(s) in May 18:

    Please Login or Register  to view this content.
    How can I set the "autofilter" to use whichever month the User selects from the DropList in G1, and have it still list ALL the date(s) for that month, and not just the specific date in G1?,

    All suggestions, pointers and solutions welcome as ever

    Ochimus
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Code to Autofilter table and show every date in month selected in cell

    here's one way

    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Need Code to Autofilter table and show every date in month selected in cell

    Hello Ochimus,

    Here is another way...

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Need Code to Autofilter table and show every date in month selected in cell

    Thanks to both for solutions.

    Fascinating that Excel seems always to offer multiple approaches to any need!

    Ochimus

+ 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. Autosum every three months based on month selected - Show three month trend
    By whatever 2233 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-04-2018, 07:43 PM
  2. Replies: 1
    Last Post: 02-10-2018, 11:35 AM
  3. Show values of selected table row in other cell
    By kammend in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 01-31-2018, 11:20 AM
  4. [SOLVED] Please help - cell needs to show date selected on calendar
    By menolas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2016, 08:07 AM
  5. [SOLVED] Formula to show first day of the month based on date in another cell
    By Marco-Kun in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-11-2016, 10:46 AM
  6. Replies: 2
    Last Post: 01-30-2013, 03:16 AM
  7. [SOLVED] Excel month dropdown list to generate day of week and date for selected month
    By aaaaaaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2010, 02:45 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