W
Wally Steadman
Greetings all.
I have built a spreadsheet that is linked to multiple spreadsheets and sums
up information from each spreadsheet
Example:
MasterSheet.xls
In Cell A1 on Sheet 1 it sums up Cell A1 From Sheet one of 8 Workbooks
called
User1.xls
User2.xls
User3.xls
User4.xls
down to User8.xls
This works fine and the workbook calculates correctly. But the formula is
long and bulky and I was wondering if there is a way to do the formula so
that if only 6 spreadsheets are in the folder that it will still do the sum
of Cell A1 from Sheet1 of each workbook or if I added a 9th Ulser9.xls file
into the folder that it would calculate that in without me having to go back
in to the spreadsheet and changing a plethora of formulas in many cells.
If I can't do this with a Formula, is there a way to do it with VBA to say
look for any files with User*.xls and sum cell A1 from Sheet 1
Any help would be appreciated.
Wally Steadman
I have built a spreadsheet that is linked to multiple spreadsheets and sums
up information from each spreadsheet
Example:
MasterSheet.xls
In Cell A1 on Sheet 1 it sums up Cell A1 From Sheet one of 8 Workbooks
called
User1.xls
User2.xls
User3.xls
User4.xls
down to User8.xls
This works fine and the workbook calculates correctly. But the formula is
long and bulky and I was wondering if there is a way to do the formula so
that if only 6 spreadsheets are in the folder that it will still do the sum
of Cell A1 from Sheet1 of each workbook or if I added a 9th Ulser9.xls file
into the folder that it would calculate that in without me having to go back
in to the spreadsheet and changing a plethora of formulas in many cells.
If I can't do this with a Formula, is there a way to do it with VBA to say
look for any files with User*.xls and sum cell A1 from Sheet 1
Any help would be appreciated.
Wally Steadman