Function is not available in expressions. (Error 2426)

You have entered a function that cannot be used in this expression. The functions DoEvents, LBound, UBound, Spc, and Tab are not available in expressions.