+ Reply to Thread
Results 1 to 2 of 2

Highlight the entire row

  1. #1
    Registered User
    Join Date
    10-27-2010
    Location
    princeton
    MS-Off Ver
    Excel 2003
    Posts
    10

    Highlight the entire row

    Hi
    I'm a newbie to excel macros; here is my problem
    I have to highlight the entire rows for the following four conditions with four different colors.
    if column AU contains "b" color=35
    if column AU contains "f" color=36
    if column D contains "/bin/touch" color=45
    if coulmn D contains "/bin/rm" color=22

    I have recorded a macro for the first two conditions, using conditional formatting;
    then i tried to extend the same macro for all four conditions.
    Below is the code for my macro:
    Please Login or Register  to view this content.
    When I run the macro it only runs for three conditions the fourth condition is ignored.

    I tried to record the same macro for all of the four conditions but i'm unable to; as conditional formatting is allowed only for three conditions.

    can i combine conditions 3 and 4 and put them in a if condition. can anyone help me with the if condition

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Highlight the entire row

    why not try this macro

    Please Login or Register  to view this content.
    I HAVE A DOUBT. what happens if col D has that text e.g. "bin/touch" and column AU has "d" or "f". the above macro will give result of latest statement only

+ 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