+ Reply to Thread
Results 1 to 2 of 2

Highlight rows as you scroll through spreadsheet

  1. #1
    SilverCondor
    Guest

    Highlight rows as you scroll through spreadsheet

    I want the rows to highlight as I scroll down the spreadsheet.
    When I am at a cell on a 14 inch spreadsheet, I'd like the entire row
    to highlight so I can easily distinguish data on that row without having to
    go all the way over the the left.

  2. #2
    Duke Carey
    Guest

    RE: Highlight rows as you scroll through spreadsheet

    I tried conditional formatting, but it was unreliable, in that the display
    didn't always update. Sometimes multiple rows were highlighted, other times
    the active row wouldn't highlight.

    VBA works OK, though. There seems to be quite a bit of overhead required for
    this, meaning it perceptibly slows my system down.

    Right click on the sheet tab and "View Code"
    Paste in the code below

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Cells.Interior.ColorIndex = 0
    Target.EntireRow.Interior.ColorIndex = 34
    End Sub


    "SilverCondor" wrote:

    > I want the rows to highlight as I scroll down the spreadsheet.
    > When I am at a cell on a 14 inch spreadsheet, I'd like the entire row
    > to highlight so I can easily distinguish data on that row without having to
    > go all the way over the the left.


+ 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