S
stephentebaldi
does vba not recognize the same functions as excel? I checked the vba
help files and it says it will do averaging. If I select a range of
data and then try to average it, it says that the function is not
defined. Can I not average a predefined range. My code below probably
explains it more easily.
Dim Standards As Range
Set Standards = Application.InputBox("Please Select Data for
Positive Standards", Type:=8)
Dim Blanks As Range
Set Blanks = Application.InputBox("Please Select Data for
Blanks", Type:=8)
AveStds = Average(Standards)
AveBlks = Average(Blanks)
help files and it says it will do averaging. If I select a range of
data and then try to average it, it says that the function is not
defined. Can I not average a predefined range. My code below probably
explains it more easily.
Dim Standards As Range
Set Standards = Application.InputBox("Please Select Data for
Positive Standards", Type:=8)
Dim Blanks As Range
Set Blanks = Application.InputBox("Please Select Data for
Blanks", Type:=8)
AveStds = Average(Standards)
AveBlks = Average(Blanks)