Hello Guys,
I am trying to get this line of code
to calculate values and insert those values in the range. How can I do this? Is this even possible?
The formula in the line above is an Array formula that I using in my file. The problem is that the file is too big with many tabs and many ranges use same and/or similar array formulas to calculate. This has made the file painfully slow.
I was thinking if VBA could do those calculations in the background and insert values in the ranges, that will make the file faster. Wouldn't it?
Thanks for looking at it.
Asad
I am trying to get this line of code
Code:
Range("D15:D30").Value = WorksheetFunction.IF(OR(B15="Vacant",B15=""),"",IFERROR(INDEX('Roster Export'!$B$1:$B$1500,MATCH($C15&D$3,('Roster Export'!$AP$1:$AP$1500)*1&'Roster Export'!$D$1:$D$1500,0)),IF(OR((('Leave from TT'!$C$2:$C$500)*1=$C15)*('Leave from TT'!$A$2:$A$500<=D$3)*('Leave from TT'!$B$2:$B$500>=D$3)),"Leave","OFF")))
The formula in the line above is an Array formula that I using in my file. The problem is that the file is too big with many tabs and many ranges use same and/or similar array formulas to calculate. This has made the file painfully slow.
I was thinking if VBA could do those calculations in the background and insert values in the ranges, that will make the file faster. Wouldn't it?
Thanks for looking at it.
Asad