I've been using this code from the ever brilliant Ron de Bruin to copy a range from multiple spreadsheets in a folder:
and it's working brilliantly.Please Login or Register to view this content.
My problem is that I now need it to copy across multiple ranges (6 to be exact) which are different sizes. Each range needs copying to a separate sheet.
Currently I'm achieving this by having this code in 6 separate modules and running one after the other, which does the job. The problem is the because of the coding it's opening and closing each spreadsheet 6 times.
Could someone tell me how I'd adjust the above code to enable all 6 ranges to be copied across (including the filename) at once, so that the file only opens once.
My coding is getting better (in fact I've altered this myself to do what I need), but I've tried and tried with this and I'm having no success.
Thanks.
Bookmarks