IsError Function

測試變數是否包含錯誤值。

語法

IsError (Var)

傳回值類型

布林型

參數:

Var:要測試的任意變數。如果變數包含錯誤值,則函式傳回 True (真),否則傳回 False (偽)。