Excel 2007: UDF can't reference row below 65536
It sounds like you are working in Compatibility Mode. How many rows does your
workbook have on a sheet? I created a simple MyUDF function, and it accepts
any range up to 1048576 unless the workbook calling it was saved in an
earlier Excel format (.xls instead of .xlsx).
Hope this helps,
Hutch
"Greg Lovern" wrote:
In Excel 2007 (I'm on SP2), if I enter this formula:
=SUM(A65537)
It works fine. But if I enter this formula:
=MYUDF(A65537)
Excel turns it into this:
=MYUDF(#REF!)
That isn't the UDF's fault' Excel is doing that before the UDF has the
opportunity to do anything at all. Is there a workaround or fix?
Thanks,
Greg
.
|