Hey there.
I am importing an .xls file which contains two (identical) array formula, set on adjacent ranges of cells.
eg:
Array formula "=Row(A1:A10)", which has been expanded to display over cells B1:B5, and a second (but identical) formula, expanded over cells C1:C5 (see attached file twoArrays.xls)
When I import the .xls file using XlsIO, I can see the imported array formula by iterating over worksheet.Cells, and looking at their IRange.FormulaArray propery.
However, I don't know how to tell that there are two distinct array formula, as opposed to simply a single array formula that stretches across cells B1:C5.
I need to know because (like Excel) I need to prevent the user from trying to change or delete part of an array. Hence deleting B1:B3 is forbidden, but deleting B1:B5 should be allowed.
Anyone know how I can figure this out?
Thanks for any ideas or assistance,
Jonathan
twoArrays.zip