Excel value if condition error

I found a value of particular cell using read cell. When I print that variable I get the correct value. Now if in case the cell is empty, and i try to put it in if condition, it gives me error - If: Object reference not set to an instance of an object. Please help

Hi @tanu ,

Use this condition


Thank you, it worked :slight_smile:

1 Like


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.