Highlite row and colum cursor is in

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?
 
G

Guest

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
 
G

Guest

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.
 
G

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top