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?
IsEmptyfunction is for excel cells onlyobjresult.EOF Is Nothing- returnsEmptyobjresult.EOF <> null- returnsEmptyas well!
objresult. AndIsEmptyis not specific for excel cells, it is forVariantvariables.