B
Bonsai Bill
I have a bonehead question about using the Frequency function: how do I use
it in VBA? I have address strings for both the data and bin ranges and used
the following code:
Cells(2, jDiff + 5) = Application.WorksheetFunction.Frequency(DataStr, BinStr)
with Binstr = $AI$2:$AI$26 and DataStr = $AE$2:$AE$217; jDiff = 31 (AE)
When I run it I get the error: " Unable to get Frequency property of the
WorksheetFunction class".
Could someone please provide me with one or two lines of code (hopefully) to
show how to use it correctly?
Thanks for your help!
BonsaiBill
it in VBA? I have address strings for both the data and bin ranges and used
the following code:
Cells(2, jDiff + 5) = Application.WorksheetFunction.Frequency(DataStr, BinStr)
with Binstr = $AI$2:$AI$26 and DataStr = $AE$2:$AE$217; jDiff = 31 (AE)
When I run it I get the error: " Unable to get Frequency property of the
WorksheetFunction class".
Could someone please provide me with one or two lines of code (hopefully) to
show how to use it correctly?
Thanks for your help!
BonsaiBill