Highlite row and colum cursor is in

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way for excel to highlite the entire row and colum that the cursor
is in? I know that for example when my cursor is in box T 12 (coulm T and
Row 12) that the T is highlited and the 12 is higlited, but sometimes it is
still hard to see across the entire row. I was wondering if there is a way
excel can highlite the entire row and colum so that i can see easily what is
in the row and colum?
 
Put the following macro in Worksheet code:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = xlNone
Target.EntireRow.Interior.ColorIndex = 6
Target.EntireColumn.Interior.ColorIndex = 6
End Sub
 
Thanks for the add in. It is a cool tool, however it does not allow the undu
button to work. unfortunaly i need the undue button to work so this doesnt
seem to be an option for me. but thank you anyway.
 
Right-click on the sheet tab and "View Code"

Copy/paste to that sheet module.

NOTE: this code will wipe out any background colors you may have currently in
use.

Will also make the UNDO stack unavailable.


Gord
 
Back
Top