Here , var3 is empty but in the below condition not empty condition satisfies(which should not, because var3 is empty) and it goes inside the IF condition. I tried with Not IsEmpty method and also with var3 = "" in if condition. Can someone pls guide in this why its getting passed inside if condition.
If Not IsNull(var3) Or Not IsEmpty(var3) Then
MsgBox "Test"
oDoc.InsertDocument (insert_path2)
End If