Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI EVERY ONE
I HAVE THIS EVENT CODE FOR SUMMING DEFINED RANGE Private Sub Worksheet_Change(ByVal Target As Range) Dim RNG1 As Range Dim RNG2 As Range Set RNG1 = Range("D2:D20") Set RNG2 = Range("D21") If Not Intersect(RNG1, Target) Is Nothing Then RNG2.Value = Application.WorksheetFunction.Sum(RNG1) End If End Sub BUT WHAT I NEED URGENT TO ADD A CONDITION TO SUM (ONLY) AS EXAMPLE ALL Cells.Interior.ColorIndex = 3 I CONTROL WITH CELLS COLOR WITH CONDITIONAL FORMATING I HOPE ITS VERY CLAER , I HOPE ANY ONE CAN HELP APPRECIATED |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting Colored Cells that are Conditional Formated | Excel Discussion (Misc queries) | |||
Conditional Formating and auto filling | Excel Discussion (Misc queries) | |||
Conditional Formatted Colored Cells | Excel Programming | |||
CONDITIONAL FORMATING FINDING TEXT CONTAINING SPECIFIC NUMBERS | Excel Worksheet Functions | |||
conditional formating a specific amount of cells in a row. | New Users to Excel |