I am trying to set up a macro that calculates balances per individual per month. When manually setting up the spreadsheet the array formula has returned the correct result but I am getting an error when the formula is included in a macro.
The error message returned is:
"Run-time error '1004':
Unable to set the FormulaArray property of the Range class"
The relevant section of code is:
(please note that I have manually wrapped the code below as when I tried to use the underscore character to wrap the formula I get an immediate syntax error)
The logic of the formula below is that if the values in columns E & F are equal then no value is required (the starting IF stmt). If the values are not equal then the formula will return values from 3 data sheets.
Hopefully someone can make me
Bookmarks