Hi-lighting active rows

schpanky

New Member
Joined
Jan 24, 2005
Messages
2
I'm trying to assist a staff person in seeing information only on the lines she's working on.

Is there an application in excel that will hi-light the entire row on which you are working....aside from selecting the row# at the far left.......in other words, if your on cell D4...i'd like the entire D row to be hi-lighted.

thanks
Schpanky
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Without having to read through & adapt the code, I believe this is what you're after. This goes into the sheet module. (Right click the sheet tab > Choose View code > Copy & paste this in the white area on the right > Press AltQ when you're done.)
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Cells.Interior.ColorIndex = 0
With Target.EntireRow.Interior
.ColorIndex = 6
End With
End Sub
Hope it helps,
Dan
 
Upvote 0
Thank you very much! ! !

Works great.

Hopefully someday I'll know enough to be a productive contributor on this forum.
 
Upvote 0

Forum statistics

Threads
1,214,621
Messages
6,120,563
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top