I have used DigDB to combine 5000+ excel files into one new file, but I now need to extract data from a single cell and paste it onto a row in the new file.
The cell (say A2) is on a worksheet called summary and I have recorded a macro to copy it and paste it into the new file, but the problem is that when DigDB combined the files (which all share the same structure), it named the sheets "summary (2)" "summary (3)" and so on...
How would I make the macro automatically increment the sheet number so it would copy A2 of summary (2), then summary (3) etc.... whilst pasting each value into a new row in the new file?
Thanks
The cell (say A2) is on a worksheet called summary and I have recorded a macro to copy it and paste it into the new file, but the problem is that when DigDB combined the files (which all share the same structure), it named the sheets "summary (2)" "summary (3)" and so on...
How would I make the macro automatically increment the sheet number so it would copy A2 of summary (2), then summary (3) etc.... whilst pasting each value into a new row in the new file?
Thanks