+ Reply to Thread
Results 1 to 3 of 3

hilighting entire row

  1. #1
    Forum Contributor
    Join Date
    03-03-2004
    Location
    mumbai
    MS-Off Ver
    2003,2007
    Posts
    151

    hilighting entire row

    I want to highlight entire row automatically with yellow color if i type "completed" in a cell of that particular row.

    Could any one help me.
    thank you

  2. #2
    Jim May
    Guest

    Re: hilighting entire row

    In your current sheet module paste in:

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Value = "Completed" Or Target.Value = "completed" Then
    Cells.Interior.ColorIndex = xlNone
    Target.EntireRow.Interior.ColorIndex = 6
    End If
    End Sub

    Only one row at-a-time will be highlighted; Is that what
    you want?



    "mangesh" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I want to highlight entire row automatically with yellow color if i type
    > "completed" in a cell of that particular row.
    >
    > Could any one help me.
    >
    >
    > --
    > mangesh
    >
    >
    > ------------------------------------------------------------------------
    > mangesh's Profile:
    > http://www.excelforum.com/member.php...fo&userid=6746
    > View this thread: http://www.excelforum.com/showthread...hreadid=522864
    >




  3. #3
    Sloth
    Guest

    RE: hilighting entire row

    Select all cells by clicking the square in the upper left hand corner of the
    sheet.

    Click Format->Conditional Formatting

    Select "Formula is" and enter this formula (with both equals)

    =$D1="completed"

    click format and go to the "Patterns" tab. Select the color you want.
    Select "OK" twice.

    Now whenever a cell in column D equals "completed" the whole row will be
    highlighted. Change D to the column you want.

    "mangesh" wrote:

    >
    > I want to highlight entire row automatically with yellow color if i type
    > "completed" in a cell of that particular row.
    >
    > Could any one help me.
    >
    >
    > --
    > mangesh
    >
    >
    > ------------------------------------------------------------------------
    > mangesh's Profile: http://www.excelforum.com/member.php...fo&userid=6746
    > View this thread: http://www.excelforum.com/showthread...hreadid=522864
    >
    >


+ 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