Colleen45
Active Member
- Joined
- Jul 22, 2007
- Messages
- 495
I would like to copy the formula below using VBA
The formula is in K5, and I would like it copied down to K111
The only change for each line is that 1.xlsm, must change to 2.xlsm then to 3.xlsm etc until 107.xlsm
=SUMPRODUCT(COUNTIF(BR8,'C:\Collection Dev\Stock Register\2010-2011\[1.xlsm]Annual Expenditure'!$AI$15:$AL$1000))
The formula is in K5, and I would like it copied down to K111
The only change for each line is that 1.xlsm, must change to 2.xlsm then to 3.xlsm etc until 107.xlsm
=SUMPRODUCT(COUNTIF(BR8,'C:\Collection Dev\Stock Register\2010-2011\[1.xlsm]Annual Expenditure'!$AI$15:$AL$1000))