Hi Team,
I am trying to do an index match using pre-defined columns from 2 sheets. The sheet named "Descriptions have 2 columns pre-defined "GrwDef" and "DescAsset" while the sheet named "IR115 Data" has one predefined column "Asset"
This formula should fetch data from the sheet descriptions and populated in the sheet IR115 Data. However I am not having success with formula and the error message popping up is "run-time error 424, object required"
Your assistance would be greatly appreciated please
I am trying to do an index match using pre-defined columns from 2 sheets. The sheet named "Descriptions have 2 columns pre-defined "GrwDef" and "DescAsset" while the sheet named "IR115 Data" has one predefined column "Asset"
This formula should fetch data from the sheet descriptions and populated in the sheet IR115 Data. However I am not having success with formula and the error message popping up is "run-time error 424, object required"
Your assistance would be greatly appreciated please
VBA Code:
ActiveCell.Formula2R1C1 = "=INDEX(Descriptions!" & GrwDef.Address(ReferenceStyle:=xlR1C1) & ",MATCH(@'IR115 Data'!" & Asset.Address(ReferenceStyle:=xlR1C1) & ",Descriptions!" & DescAsset.Address(ReferenceStyle:=xlR1C1) & ",FALSE))"