ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Is it possible to high light a row of cells (https://www.excelbanter.com/new-users-excel/250638-possible-high-light-row-cells.html)

Mike

Is it possible to high light a row of cells
 
I have columns from A1 to A300 TO CP1 TO CP300 if I click on a particulr cell
on any row is it possible to high light that whole row if there is a way
please tell me how!!!

Stefi[_2_]

Is it possible to high light a row of cells
 
On dec. 10, 04:23, Mike wrote:
I have columns from A1 to A300 TO CP1 TO CP300 if I click on a particulr cell
on any row is it possible to high light that whole row if there is a way
please tell me how!!!


You need an event sub for that like this one:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("A1:F10")) Is Nothing Then
Range("A1:F10").Interior.ColorIndex = xlNone
Range("A" & Target.Row & ":F" &
Target.Row).Interior.ColorIndex = 6
End If
End Sub

Post if you need help to install it!

Regards,
Stefi

Dave Peterson

Is it possible to high light a row of cells
 
You may want to take a look at Chip Pearson's rowliner utility.
http://www.cpearson.com/excel/RowLiner.htm

Mike wrote:

I have columns from A1 to A300 TO CP1 TO CP300 if I click on a particulr cell
on any row is it possible to high light that whole row if there is a way
please tell me how!!!


--

Dave Peterson


All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com