G
Guest
I wanted to write a macro or VB function that caculates the Standard Error
(SE) of a variable. I have written the following code:
Public Function SE(Variable AS Variant) As Variant
SE = StDev (Variable)/(Count(Variable)^0.5)
End Function
But i get an error message:
Undefined function in "SE" expression...
I am very new to VB, so am likely doing something very silly,
(i don't even know if i can use a call to StDev or Count in VB)
but would be greateful for any help or guidance...
Thanks,
Fishcakes.
(SE) of a variable. I have written the following code:
Public Function SE(Variable AS Variant) As Variant
SE = StDev (Variable)/(Count(Variable)^0.5)
End Function
But i get an error message:
Undefined function in "SE" expression...
I am very new to VB, so am likely doing something very silly,
(i don't even know if i can use a call to StDev or Count in VB)
but would be greateful for any help or guidance...
Thanks,
Fishcakes.