+ Reply to Thread
Results 1 to 5 of 5

Changing input fields to a different colour.

Hybrid View

  1. #1
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Changing input fields to a different colour.

    The never ending saga of my spreadsheet. So far it is terrific due to help from this forum. The next question, if I am not pushing my luck, is, is it possible to change the text colour automatically along all the fields to do with a weekend date to red. What I mean to say is if you look at what I have created, then it shows the first entry (A7) as a sonday so if I work that day can all the fields horizontally show red text?
    thanks again
    Alan
    Attached Files Attached Files
    Last edited by AlanWade; 06-20-2008 at 01:42 PM.

  2. #2
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72
    Sorry VBA Noob changed it now.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Do you mean you want the row where the weekends occur to be in red font too?

    If so, you can use the same Conditional Format as you already have to turn the Weekends red... but just add a $ in front of the A so that column A is frozen in all formulas..
    Attached Images Attached Images
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thank you

    Select the area and then use a formula like

    =IF($A7<>"",WEEKDAY($A7,2)>5)
    Example attached

    VBA Noob
    Attached Files Attached Files
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72
    Once again, thankyou so much for your expertise.

    Alan

+ 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