![]() |
excel's active cell
how to highlight the active cell with a color each time it moves
|
excel's active cell
angelaexceluser, have a look at Chip's addin here for one way to do it,
http://www.cpearson.com/excel/RowLiner.htm -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "angelaexceluser" wrote in message ... how to highlight the active cell with a color each time it moves |
excel's active cell
Right click sheet tabview codecopy/paste thisSAVE workbook
'McCurdy.Here is something inspired by Don Guillett. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim MyRng As Range Set MyRng = Target.EntireRow Application.EnableEvents = False On Error GoTo end1 Application.Cells.FormatConditions.Delete With MyRng .FormatConditions.Add Type:=xlExpression, Formula1:= _ "=ROW()=ROW(INDIRECT(CELL(""address"")))" With .FormatConditions(1).Font .Bold = True .Italic = False .ColorIndex = 1 End With .FormatConditions(1).Interior.ColorIndex = 36 End With end1: Application.EnableEvents = True End Sub -- Don Guillett SalesAid Software "angelaexceluser" wrote in message ... how to highlight the active cell with a color each time it moves |
All times are GMT +1. The time now is 09:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com