Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Amolin, SelectionChange event makes this possible as follow.
If you have already colored cell in the wks, need more code. Please note, this is just a sample code. Code ------------------- 'Wks Module Dim preservedRange As Range Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not preservedRange Is Nothing Then preservedRange.Interior.ColorIndex = xlNone End If Target.EntireRow.Cells.Interior.ColorIndex = 10 Set preservedRange = Target.EntireRow End Sub ------------------- -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why font color change back to black when I select a different cell | Excel Worksheet Functions | |||
Change tab color based on current color of a cell | Excel Discussion (Misc queries) | |||
Excel: Syntax to change cell color based on color of another cell | Excel Worksheet Functions | |||
How to change the default Border, Font Color, and Cell Color | Excel Discussion (Misc queries) | |||
In excell 2003 I select a cell and try to refill with any color | Excel Worksheet Functions |