Hi guys,
I'm wondering if anyone knows of any vb code to pull data from several files into one 'summary' file using file paths (eg 'C:\....[January.xls]Sheet1'!A1+'C:\....[February.xls]Sheet1'!A1+'C:\....[March.xls]Sheet1'!A1, etc).
The result will be in a file called 'C:\....[Annual Summary.xls]Sheet1'A1. All files have exactly the same layout, but the data within each is different.
I'm using a data validation list to select the files I would like to consolidate, as I would like to be able to review different combinations of files. This is why I'm not simply linking all files to the summary, which would be a lot simpler.
I'm not sure I'm making my requirements clear, but if anyone can help, it would be much appreciated.
Thanks
I'm wondering if anyone knows of any vb code to pull data from several files into one 'summary' file using file paths (eg 'C:\....[January.xls]Sheet1'!A1+'C:\....[February.xls]Sheet1'!A1+'C:\....[March.xls]Sheet1'!A1, etc).
The result will be in a file called 'C:\....[Annual Summary.xls]Sheet1'A1. All files have exactly the same layout, but the data within each is different.
I'm using a data validation list to select the files I would like to consolidate, as I would like to be able to review different combinations of files. This is why I'm not simply linking all files to the summary, which would be a lot simpler.
I'm not sure I'm making my requirements clear, but if anyone can help, it would be much appreciated.
Thanks