+ Reply to Thread
Results 1 to 3 of 3

Auto hide columns when date is before today

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Auto hide columns when date is before today

    Hi,

    I would like to auto hide the columns is the date in row 2 is less than today.

    thanks,

    MK

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: Auto hide columns when date is before today

    Assume you wish to hide only column B, then this code would work if your date is in cell A2.
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Auto hide columns when date is before today

    Another:

    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. Hide rows if date less than today
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-28-2017, 02:22 AM
  2. Auto generate the date today but 3 years from now
    By aledrhys666 in forum Excel General
    Replies: 3
    Last Post: 07-10-2013, 09:31 AM
  3. [SOLVED] Auto Hide Date Columns--NEED HELP!!
    By abusby in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-22-2012, 03:53 PM
  4. Auto-populate Today's Date?
    By Ocean Zhang in forum Excel General
    Replies: 1
    Last Post: 03-12-2011, 11:23 AM
  5. Macro to hide the columns that contains date < today
    By Darold in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2010, 10:35 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