These functions will work when called from other VBA code or within a macro; however, you cannot use them as UDFs (user defined functions) within a worksheet formula. Since you did not tell us the worksheet, I am assuming it is the active sheet when these functions are called (you can add sheet references if you want to be able to use them when the sheet is not active). These functions take one argument... the range you want to evaluate.
Note: These functions assume your values in the cells of the specified range are constants. If they are formulas, the change the red highlighted xlConstants to xlFormulas.
Bookmarks