View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Barb Reinhardt Barb Reinhardt is offline
external usenet poster
 
Posts: 3,355
Default FormulaArray in Excel 2007

This used to work in Excel 2003, but now doesn't in Excel 2007. I'm sure
it's a setting somewhere, but am not sure where to look.

With myWS.Cells(lRow, 3)
.FormulaArray = _
"=MAX(IF('" & aWB.Name & "'!Function=RC[-2],IF(ISNUMBER('[" &
aWB.Name & "]" & myCurrWS.Name & "'!MonthYearAuditFinish),'[" &
aWB.Name & "]" & myCurrWS.Name & "'!Actual_Audit_Finish)))"
.NumberFormat = "m/d/yyyy"
End With


The problem seems to be somehow related to RC[-2].

Thanks,
Barb Reinhardt