Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default FormulaArray in Excel 2007

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

"Barb Reinhardt" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set the FormulaArray property in Excel 97 Geoff Excel Programming 0 May 28th 08 11:40 PM
Re : Excel FormulaArray Copy-and-Paste via VBA [email protected] Excel Discussion (Misc queries) 0 May 5th 08 09:26 AM
Using FormulaArray in VBA marcelobf Excel Programming 1 March 3rd 06 08:46 PM
FormulaArray Troy Excel Worksheet Functions 1 November 23rd 04 03:42 PM
FormulaArray UK[_2_] Excel Programming 2 February 23rd 04 05:39 PM


All times are GMT +1. The time now is 08:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"