Hey guys,
I'm trying to get the average of an array(no empty values) i have. I'm trying to do something like:
averageMonth = Application.WorksheetFunction.Average(AryNoBlanks)
And i get the error: 1004 unable to get the average property of the worksheetfunction class
Am i just miss-using the command or do i need to make a function that cycles through the whole array?
I'm trying to get the average of an array(no empty values) i have. I'm trying to do something like:
averageMonth = Application.WorksheetFunction.Average(AryNoBlanks)
And i get the error: 1004 unable to get the average property of the worksheetfunction class
Am i just miss-using the command or do i need to make a function that cycles through the whole array?