Thread
:
using countif into a formula
View Single Post
#
2
Posted to microsoft.public.excel.programming
XPete
external usenet poster
Posts: 7
using countif into a formula
This worked for me
;-)
Dim myRange As Range
Dim Formula As String
Set myRange = Worksheets("Sheet1").Range("A1:C10")
Formula = Application.WorksheetFunction.CountIf(myRange, "P")
MsgBox Formula
Reply With Quote
XPete
View Public Profile
Find all posts by XPete