+ Reply to Thread
Results 1 to 2 of 2

VBA code to highlight the individual column in range based on current date

  1. #1
    Registered User
    Join Date
    10-04-2020
    Location
    UAE
    MS-Off Ver
    Microsoft: Subscription Product Microsoft 365 Apps for enterprise
    Posts
    25

    Smile VBA code to highlight the individual column in range based on current date

    Gents,

    I am searching for highlighting the individual column in range with respect to the current date.

    My referenced area is $G$4:$OL$61

    Considering G4:G61 as first range of cells in column G and this range falls on Jan 1-2023.

    Today-Jan 7-2023 - the range is M4:M61. I wish this range of cells to be highlighted at the extream border(not all cells).

    On next day the next range of cells to be highlighted similarly

    Much appreciated, Thank

  2. #2
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: VBA code to highlight the individual column in range based on current date

    Try this

    Please Login or Register  to view this content.
    Last edited by vichopalacios; 01-12-2023 at 02:44 PM.
    Barriers are there for those who don't want to dream

+ 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. [SOLVED] Highlight Sheet based on Current Date?
    By NewYears1978 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-07-2023, 11:35 AM
  2. Highlight column based on current hour
    By randall78 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2022, 11:59 AM
  3. Replies: 4
    Last Post: 03-25-2022, 11:51 AM
  4. Highlight Rows Based on Date Range Using Static Date and Current Date
    By SaraStravers in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-23-2015, 07:38 PM
  5. [SOLVED] VBA code to look at a column and see if nil or not, if nil, to add the current date.
    By mw91 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-19-2014, 05:59 AM
  6. [SOLVED] Selecting data from a date range based on the current date
    By ian-sheridan in forum Excel General
    Replies: 12
    Last Post: 06-20-2013, 11:38 AM
  7. Highlight Only Current Week Based on Date
    By Kumara_faith in forum Excel General
    Replies: 10
    Last Post: 11-17-2010, 04:52 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