+ Reply to Thread
Results 1 to 4 of 4

Using day of the week to select code to run

  1. #1
    Registered User
    Join Date
    02-12-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    58

    Using day of the week to select code to run

    Hi All, I am trying to create a tracker that uses the day of the week as a variable to determine which sheet code should be run. I am trying to create a document that, for example, on Monday someone makes a change to a date the cell automatically changes color to yellow, and on Tuesday the cells that have been changed, changes color to green, and so on with different colors for each day of the week.

    I have the code to automatically change a cells color when a change happens in a cell, below

    Please Login or Register  to view this content.
    I also have the code to determine which day of the week it is ...

    Please Login or Register  to view this content.
    The part I am struggling with is the fact that the color changing portion of code is sheet code and I don't know how to make it determine the day of the week (mon, tue, wed...) and then make it chose the correct color for the day.

    Thank you all for all of your help in advanced!!!

    Alex

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Using day of the week to select code to run

    Deleted. Double post. (Bad edit)
    Last edited by AlphaFrog; 07-02-2013 at 09:03 PM.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Using day of the week to select code to run

    Try something like this...

    Please Login or Register  to view this content.
    Color Palette and the 56 Excel ColorIndex Colors

  4. #4
    Registered User
    Join Date
    02-12-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    58

    Re: Using day of the week to select code to run

    Wow... That's impressive, Thank you for work on this its perfect!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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