VBA Code:
Sub F851_Service_IndexMatch()
'Range("I2:I1073").FormulaArray = "=INDEX('[05-06-20 Service Crosswalk.xlsx]Xwalk'!$F:$F,MATCH(1,(A2='[05-06-20 Service Crosswalk.xlsx]Xwalk'!$C:$C)*(B2='[05-06-20 Service Crosswalk.xlsx]Xwalk'!$B:$B)*(F2='[05-06-20 Service Crosswalk.xlsx]Xwalk'!$D:$D)*(G2='[05-06-20 Service Crosswalk.xlsx]Xwalk'!$A:$A),0))"
Above is the Index Match Formula I have been using to pull information from a separate worksheet using 3 different criteria. When I try to enter the array formula in VBA and run the macro afterwards I get this error "Unable to set the FormulaArray property of the Range Class", which I assuming I'm getting because the formula is greater than 255 characters. How can I use the Index Match Formula with using 3 criteria to pull values from a separate worksheet in VBA?
Any help would be appreciated. Let me know if there is anything I need to clarify.