So I have around 100 excel files saved as .xml in my folder and I have written a VBA code which formats the layout settings of each worksheet of all the workbooks(files) in my folder. But the problem is the code does not work on the last worksheet of all the workbooks, it works perfectly fine for the rest i.e. till the last worksheet of each workbook. Here is the code:
Pleas/e let me know where I went wrong. ThanksPlease Login or Register to view this content.
Bookmarks