Hi,
Sorry for the delay in getting you.
Please use the code below to detect whether a sheet contains data.
sheet.UsedRange.IsBlank==true
Please take a look at the attachment and let me know if you have any questions.
EmptyDetector.zip
BestRegards,
Bharath