+ Reply to Thread
Results 1 to 3 of 3

Using date Pickers to highlight range of cells...

  1. #1
    Registered User
    Join Date
    02-14-2019
    Location
    UK
    MS-Off Ver
    2018
    Posts
    2

    Using date Pickers to highlight range of cells...

    Hi,

    I’ve used excel for basic spreadsheets for years but only recently moved on to VBA. I’ve been fine so far but if got an idea for a sheet I need to create but I can’t see how to do it. Or if there is a better way?

    I have a table which is basically a calendar of the 2019/2020 year. The months of year are down along the number side and the days in the month running along horizontally with the letters.

    I want the user to input a from and to date which will then change the colour of those cells in the calendar table.

    I have months in column A and days (1-31) in row 1.

    I have a command button which links to a Userform where there is a Date From date picker and Date To date picker. I can’t figure out how to process that information and mark the cells equivalent to those dates in my table.???

    Any hints greatly appreciated.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Using date Pickers to highlight range of cells...

    The code within the attached may be a starting point.
    The calendar is progressive (i.e. select a start date, this establishes the range, start date within 2019 will give range 2019/2020 etc.,)
    torachan.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-14-2019
    Location
    UK
    MS-Off Ver
    2018
    Posts
    2

    Re: Using date Pickers to highlight range of cells...

    Thanks. I’ll take a look.

+ 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 a range of cells to match the date
    By cmoore24 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-14-2015, 12:59 PM
  2. Date Pickers
    By Shellybelly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2015, 02:52 PM
  3. user forms and date pickers
    By Shellybelly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2015, 11:32 PM
  4. [SOLVED] highlight a series of cells based on the number of days in a date range
    By b2lynch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 10:48 PM
  5. Date Range to highlight Cells
    By Arawwawala in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2014, 02:34 PM
  6. VBA Charting Data with ComboBoxes and Date Pickers
    By kantian1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2008, 09:50 AM
  7. [SOLVED] Date Pickers on a MultiPage control
    By Larry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-08-2005, 04:06 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