Hey I'm trying to get a lazy evaluation 'And' in my my Excel macro to do something like:
If Not myObject Is Nothing *And* myObject.test() Then
'do something'
Else
'do something else'
End If
I know this exists in VB.NET as AndAlso and OrElse but cannot find anything similar in VBA. If this actually does not exist what's the best way to structure this?