Thread: Highlighting
View Single Post
  #23   Report Post  
gwenturpin
 
Posts: n/a
Default


Can you give me some guidance on the borders and the different
variations taht you can have



Pank Wrote:
Gwenturpin

See this Add-in
http://www.cpearson.com/excel/RowLiner.htm

Regards

Pank

"Bob Phillips" wrote:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.FormatConditions.Delete
With Target.EntireRow
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
With .FormatConditions(1)
With .Borders(xlTop)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
With .Borders(xlBottom)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = 5
End With
.Interior.ColorIndex = xlColorIndexNone
.Font.ColorIndex = 3
.Font.Bold = True
End With
End With


End Sub


'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.




--
HTH

Bob Phillips

"gwenturpin"

wrote
in message

...



I am wanting to change the default highlighting when you hover over

a
cell/row.

E.g. I will be working on a large list of contact details when for
instance I click on a surname I would like the whole row to jump

out
e.g be in a white box with bold letters coloured red.

Any ideas????


--
gwenturpin

------------------------------------------------------------------------
gwenturpin's Profile:

http://www.excelforum.com/member.php...o&userid=24239
View this thread:

http://www.excelforum.com/showthread...hreadid=378497






--
gwenturpin
------------------------------------------------------------------------
gwenturpin's Profile: http://www.excelforum.com/member.php...o&userid=24239
View this thread: http://www.excelforum.com/showthread...hreadid=378497