Hello, my VBA is working fine, it is creating a report base on same reports from several files - these files are varies in row numbers.
The formula got too long ...
=+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-DCX.xls]D Report'!$B$30+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-RISK.xls]D Report'!$B$36+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-LEGAL&DS.xls]D Report'!$B$24+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-IT.xls]D Report'!$B$20+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CFO.xls]D Report'!$B$48+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORP.xls]D Report'!$B$20+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-HR.xls]D Report'!$B$18+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-C&F.xls]D Report'!$B$32+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-E&R(60).xls]D Report'!$B$18+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORPITEMS.xls]Corporate'!$B$167+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORPITEMS.xls]Corporate'!$B$50
Is there a way to place "'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\" elsewhere on the main report say A1 and get the formula to pick up that cell follows by the workbook/worksheet name? i.e...
="="&A1&"[BUDG0809-ADS-ASHH.xls]D Report'!$B$34"
This doesn't work, is there a way of doing something similar?
The formula got too long ...
=+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-DCX.xls]D Report'!$B$30+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-RISK.xls]D Report'!$B$36+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-LEGAL&DS.xls]D Report'!$B$24+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-IT.xls]D Report'!$B$20+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CFO.xls]D Report'!$B$48+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORP.xls]D Report'!$B$20+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-HR.xls]D Report'!$B$18+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-C&F.xls]D Report'!$B$32+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-E&R(60).xls]D Report'!$B$18+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORPITEMS.xls]Corporate'!$B$167+'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\[BUDG0809-RES-CORPITEMS.xls]Corporate'!$B$50
Is there a way to place "'S:\fincon\(3)OneWorldAccy\Budget 08-09\test\" elsewhere on the main report say A1 and get the formula to pick up that cell follows by the workbook/worksheet name? i.e...
="="&A1&"[BUDG0809-ADS-ASHH.xls]D Report'!$B$34"
This doesn't work, is there a way of doing something similar?