Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Active Cell Color
How to change active cell color as red or any? -- jamex ------------------------------------------------------------------------ jamex's Profile: http://www.excelforum.com/member.php...o&userid=32243 View this thread: http://www.excelforum.com/showthread...hreadid=520574 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Active Cell Color
Do you mean you wish to highlight the active cell as you change selection?
i.e. just active cell is red. Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) Static OldCell As Range If Not OldCell Is Nothing Then OldCell.Interior.ColorIndex = xlColorIndexNone End If Target.Interior.ColorIndex = 3 Set OldCell = Target End Sub Note: this is sheet event code. Right-click on the sheet tab and "View Code". Copy/paste into that module. If not what you're looking for, post back. Gord Dibben MS Excel MVP On Thu, 9 Mar 2006 08:42:19 -0600, jamex wrote: How to change active cell color as red or any? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Color a single digit in a mult-digit number cell | Excel Discussion (Misc queries) | |||
Cell color based upon cell value | Excel Discussion (Misc queries) | |||
Excel should let me use color banding to locate the active cell | Excel Discussion (Misc queries) | |||
Unable to set the active cell from VBA | New Users to Excel | |||
GET.CELL | Excel Worksheet Functions |