Hi
I have a speadsheet Analysis.xls which using VBA pulls in lines of totals from 12 other spreadsheets named Spending001.xls to Spending012.xls. This is a simple copy and paste exercise and the vba I am using is in the attached .txt file.
Rather than repeating the same code 12 times, please could you suggest a loop that would increment the filename (001-012) each time around? I do understand simple loops, but this is giving me problems.
Thanks for your advice
Robin
Bookmarks