I have an object and within it I want to check if some properties are set to False
, like:
If (Not objresult.EOF) Then
'Some code
End if
But sometimes, objresult.EOF
is Empty
; how can I check for this?
IsEmpty
function is for excel cells onlyobjresult.EOF Is Nothing
- returnsEmpty
objresult.EOF <> null
- returnsEmpty
as well!
objresult
. AndIsEmpty
is not specific for excel cells, it is forVariant
variables. – Psilomelane