The function you entered can't be used in this expression.@* You may have used a DoEvents, LBound, UBound, Spc, or Tab function ...