FormulaArray in Excel 2007

B

Barb Reinhardt

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
 
B

Barb Reinhardt

I figured out my problem. It was related to Worksheet vs. Workbook level
named ranges.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top