Check if excel is empty


Below you find my current workflow and excel file. I need to check if the file (except the headers are empty). other solutions didn’t seem to work. Or I did something wrong.
any ideas?

Replace your condition with InvoiceNr.Rows.Count > 0 in the if statement.

1 Like

u can read range in a datatable
and then get the rows count in the data table ,just as the below code


if the count equals zero then the file is empty

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