Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Select the range you wish to count in
run this procedure to display a messagebox with the result :====================================== Sub CountInSelection() MsgBox Application.WorksheetFunction.CountIf(Selection, "Standard") End Sub :====================================== else declare a variable to th result and use as you wish. Let me know if you need any more help for you use. http://www.excel-ant.co.uk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting variable ranges and auto-summing variable ranges | Excel Programming | |||
Counting Variable Length of Rows in a Named Range | Excel Programming | |||
Counting Variable Length of Rows in a Named Range | Excel Programming | |||
Counting Variable Length of Rows in a Named Range | Excel Programming | |||
setting a range variable equal to the value of a string variable | Excel Programming |