Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Everyone
This is working ok but if I add one more range, it wont work. Private Sub Worksheet_Change(ByVal Target As Range) Set myrge = Worksheets("Calendar").Range("b6:af17", "b21:af32") Range("R50") = Application.WorksheetFunction.CountIf(myrge, "V") End Sub This wont work: Private Sub Worksheet_Change(ByVal Target As Range) Set myrge = Worksheets("Calendar").Range("b6:af17", "b21:af32", "B36:af47") Range("R50") = Application.WorksheetFunction.CountIf(myrge, "V") End Sub Regards Cimjet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code wont work - help please | Excel Programming | |||
why is there a { in my formula and why wont it work? | Excel Discussion (Misc queries) | |||
IF sum is GreaterThan 0... why wont this work!? | Excel Worksheet Functions | |||
Anyone know why this wont work? | Excel Programming | |||
macro wont work | Excel Programming |