Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
worksheet functions
I am trying to run a worksheet function.
MyPik="Bob" MyNameCount = Application.WorksheetFunction = "=countif (A2:A100,MyPik)" I get an error. If I use the literal "Bob" I get an error. What have done wrong? Gmet |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
worksheet functions
Hi
try: MyNameCount = Application.WorksheetFunction.countif(range("A2:A1 00"),MyPik) -- Regards Frank Kabel Frankfurt, Germany Gmet wrote: I am trying to run a worksheet function. MyPik="Bob" MyNameCount = Application.WorksheetFunction = "=countif (A2:A100,MyPik)" I get an error. If I use the literal "Bob" I get an error. What have done wrong? Gmet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help with worksheet functions | Excel Discussion (Misc queries) | |||
IF AND OR Worksheet Functions | Excel Discussion (Misc queries) | |||
UDF x worksheet functions | Excel Worksheet Functions | |||
Worksheet Functions | New Users to Excel | |||
Worksheet functions in VB | Excel Programming |