Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The cell is GREEN while ACTIVE and turns WHITE after it is no lnger ACTIVE.
If my cell is already colour coded, it loses its colour when no longer ACTIVE. Can this code be changed so that a cell returns to its ORIGINAL formmating when no longer ACTIVE? Code is: Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Excel.Range) Static OldCell As Range If Not OldCell Is Nothing Then OldCell.Interior.ColorIndex = xlColorIndexNone End If Target.Interior.ColorIndex = 4 Set OldCell = Target End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Coping a Coloured cell | Excel Worksheet Functions | |||
referring to formula in a non active cell from active cell | Excel Discussion (Misc queries) | |||
How can we display the coloured border around the active sheet? | Setting up and Configuration of Excel | |||
COUNT COLOURED CELL | Excel Discussion (Misc queries) | |||
IF formula & COLOURED CELL | New Users to Excel |