Quantcast
Viewing all articles
Browse latest Browse all 8524

[Excel] Sum cells from multiple .xls files in same folder?

I have a folder full of invoices in .xls files. One invoice per .xls file. The files all have unique and variable length names and are not part of a workbook. What I am hoping to do is make a new sheet that can look at the cell at F41 on every sheet, total that up and present it in the new sheet. Every time I open this new sheet, the code would read all the .xls files in that folder (D:\Excel Invoices\Amplifier Experts Invoices) and generate a new total. I don't know if this is possible, but there are similar methods to do this when the sheets are named or part of a workbook. For example: http://spreadsheetpage.com/index.php/tip/a_vba_function_to_get_a_value_from_a_closed_file/ This won't work for me though because my files are various random names, usually the customer name, followed by the model of amplifier. I should note that I'm working in Excel 2003, so any solutions should be compatible with that or earlier versions. Thanks!

Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>