Importing data from many excel workbooks and sheets into a single workbook/table
Posted
by
Max Rusalen
on Stack Overflow
See other posts from Stack Overflow
or by Max Rusalen
Published on 2011-01-05T23:58:51Z
Indexed on
2011/01/06
0:53 UTC
Read the original article
Hit count: 132
Hi,
I have 54 excel files with three sheets each, each sheet has a different amount of data entries but they are set out in a identical format, and I need to import the data from those sheets into a single workbook using VBA.
Is there any way I can program it so I can build the loops to import the data, but without having to write in each workbook name for each loop/sheet? I think I can use the call function, but I don't know how to make the loop codes independent of the workbook name they apply to.
Thank you so much in advance,
Millie
© Stack Overflow or respective owner