+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting using a macro.

  1. #1
    Registered User
    Join Date
    11-11-2004
    Posts
    57

    Talking Conditional formatting using a macro.

    Hi All,

    I'm designing a holiday chart in work, and am using conditional formatting to colour cells.

    The problem is I have more than 3 conditions. Consequently I need to use a macro.

    I have the following code, but have a couple of questions.

    Please Login or Register  to view this content.
    My range select isn't working as I'd like? I need to select 2 individual ranges at the same time?

    G8:GE30 and G35:GH57 but based on what is entered above excel seems to be selecting G8:GH57? Can anyone tell me how to fix this?

    Also

    Can anyone advise how to include a second condition e.g. if the letter L is inserted in a cell, i'd like to shade it grey?

    I'd appreciate any help!
    Many thanks,
    John

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387
    Jay3,

    This works for me:

    Please Login or Register  to view this content.

    Have a great day,
    Stan

+ 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