Checking if an Excel File is empty

Hi All,

I am trying to check if an Excel File is empty or not. PFB the screenshot of workflow.

Studio is showing below error to me.

Any suggestions why I am seeing this error?

Use Excel Application Scope and Read Range it is base on Excel Application Scope

If you using workbook activity you have to use try catch because read range for this activity can’t return null value.
Solutiion of Eric_Wong_Test is best way.