Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
?Application.Evaluate("max(len(A1:X20))")
I once saw the following code on the ng, which works fine of course!
?Application.Evaluate("max(len(A1:X20))") When I try to use average (using worksheetfunction)instead of max, I cannot get it to work. Can someone provide the syntax or an explanation, please? Thanks Tim |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
?Application.Evaluate("max(len(A1:X20))")
Hi Tim.
Try: Application.Evaluate("Average(len(A1:X20))") --- Regards, Norman "Tim Childs" wrote in message ... I once saw the following code on the ng, which works fine of course! ?Application.Evaluate("max(len(A1:X20))") When I try to use average (using worksheetfunction)instead of max, I cannot get it to work. Can someone provide the syntax or an explanation, please? Thanks Tim |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
?Application.Evaluate("max(len(A1:X20))")
FWIW, I've found EVALUATE to be "flaky". One day it works, the next day it
doesn't. You can use most worksheet functions via this syntax ? Application.Average(Range("A1:X20")) On Fri, 24 Sep 2004 22:59:33 +0100, "Tim Childs" wrote: I once saw the following code on the ng, which works fine of course! ?Application.Evaluate("max(len(A1:X20))") When I try to use average (using worksheetfunction)instead of max, I cannot get it to work. Can someone provide the syntax or an explanation, please? Thanks Tim |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
?Application.Evaluate("max(len(A1:X20))")
Hi
Thanks for these responses Tim "Myrna Larson" wrote in message ... FWIW, I've found EVALUATE to be "flaky". One day it works, the next day it doesn't. You can use most worksheet functions via this syntax ? Application.Average(Range("A1:X20")) On Fri, 24 Sep 2004 22:59:33 +0100, "Tim Childs" wrote: I once saw the following code on the ng, which works fine of course! ?Application.Evaluate("max(len(A1:X20))") When I try to use average (using worksheetfunction)instead of max, I cannot get it to work. Can someone provide the syntax or an explanation, please? Thanks Tim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Evaluate "nested-merge" function? | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
"WinForm Application" to act as "RTD Server" using .Net | Excel Discussion (Misc queries) |