How to check if an excel file is empty?

@HiteshJeswani101

Use Read Range activity to read the data from excel file and will give you output as DataTable and say ‘DT’. And then check below condition.

   IF DT.Rows.Count > 0
   Then it has data 
   Else no data
3 Likes