Anyone knows what is the condition for loop to stop running until there is no more excel sheets left?

Hi! welcome to community!

Have a view on this thread

Regards,
NaNi