IsError Function

测试变量是否含有错误值。

语法:

IsError (Var)

返回值:

布尔

参数:

Var:要测试的任意变量。如果变量含有错误值,函数返回 True,否则函数返回 False。