我有一个对象,在其中我想检查一些属性是否设置为false,如:
If (not objresult.EOF) Then
'Some code
End if
Run Code Online (Sandbox Code Playgroud)
但不知何故,有时objresult.EOF是Empty,我该如何检查呢?
IsEmpty 功能仅适用于excel细胞objresult.EOF Is Nothing - 回归 Emptyobjresult.EOF <> null- 也回来Empty!