Loop through all worksheets in all Excel workbooks in a folder to change the font, font size, and alignment of text in all cells
问题 On my hard drive I have a folder containing a number of Excel workbooks. I want to loop though all the worksheets in each of the Excel workbooks in this folder to change the font, font size, and alignment of text in all the cells. From my own limited knowledge of VBA and from reading other related questions here on SO I have cobbled toghether the macro below which I have stored in Personal.xls. As it is now it seems to loop through the workbooks but it is not formating the text in any of them