sub CellFormulaIsWrong()
if IsError(range("a1").value) = true then
msgbox "a1 单元格错误类型为:" & range("a1").text
Else
MsgBox "a1 单元格公式结果为:" & range("a1").value
end if
End Sub
11-3 判断单元格公式是否存在错误
最新推荐文章于 2022-01-24 21:27:44 发布
sub CellFormulaIsWrong()
if IsError(range("a1").value) = true then
msgbox "a1 单元格错误类型为:" & range("a1").text
Else
MsgBox "a1 单元格公式结果为:" & range("a1").value
end if
End Sub