It there,
I have a macro that loops through files in a folder and process them. The odd time it opens a workbook and it is empty and it crashes because what its looking for is not there. I'm looking for some code that says "If the worksheet is empty then exit sub."
thanks
I have a macro that loops through files in a folder and process them. The odd time it opens a workbook and it is empty and it crashes because what its looking for is not there. I'm looking for some code that says "If the worksheet is empty then exit sub."
thanks