+ Reply to Thread
Results 1 to 4 of 4

Conditional Format a Row (Macro)

  1. #1
    Registered User
    Join Date
    03-28-2007
    Posts
    25

    Conditional Format a Row (Macro)

    Hi Guys,

    i need to format cell colours of a row based on contents of certain cells, conditional formatting is no good as there are too many arguments I beleive.

    Please see attached which will explain my requirements.

    Many thanks

    James
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481
    Hi James,

    Try the attached - I think it does what you need. If the values in cells G:K are changed to "Yes" or "No", the rows are automatically reformatted in accordance with what you specified.

    The VBA code is completely parameterised, i.e. the various background & text colours can be changed easily, as can the location of the "monitored" columns G:K should you wish to add/delete columns later.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-28-2007
    Posts
    25

    Thumbs up

    Works a treat, just what i wanted. Many thanks Greg.

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481
    Hi again James,

    Thanks for the feedback. You're welcome - glad to have helped.

    All the best,

    Greg M

+ 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