Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
nop.. it isnt working :(
but thanks for the help.. Daniel. "Chip Pearson" wrote: Daniel, Try something like the following: Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Cells.Count 1 Then Exit Sub End If Application.EnableEvents = False On Error GoTo ErrH If Not Application.Intersect(Target, Range("A1:A10")) Is Nothing Then Target.Interior.ColorIndex = 3 Target.Value = Target.Value + 1 End If ErrH: Application.EnableEvents = True End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Daniel" wrote in message ... hi.. i already know how to change the cell's colors when i click it.. but i need to increase a number on one specific cell when the color of any cell is red.. can someone help me pls? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Theme color doesn't change when I click it? | Excel Worksheet Functions | |||
How to increase the number of files displayed when I click 'file' | Excel Discussion (Misc queries) | |||
is there a control 2 increase a number in a cell by click on the c | Excel Discussion (Misc queries) | |||
How do you change the color of a hyperlink after you click on it? | Excel Worksheet Functions | |||
Change cell back color on click | Excel Discussion (Misc queries) |