hey,
need your expertise guys, i have a formula for VBA code below. it returns an error
Sub test()
Range("Y17").Select
ActiveCell.FormulaR1C1 = "=IF(MAX(RC[2]:RC[14])<=0,""-"",INDEX($AA$15:$AM$15,0,MATCH(MAX(RC[2]:RC[14]),RC[2]:RC[14])))"""
End Sub
I believe the absolute reference...