This one has me scratching my head.
We have a billing template, with multiple worksheets in the workbook. The add-in pulls data from specific places and puts it into an XML schema for use elsewhere. It works great - except
We have a shipping tab, where zipcode and qty for that zipcode are entered... this is for sales tax calculations. The definition of the range is
=Shipping!$B$2:$B$65536
the app starts at B2, and looks for a value, if it finds it, it then looks to the value in C2, and IF it has a valid entry, then it writes a record to a List of those records.
code :
For Each cell In ShippingRange.Cells
GetShippingInfo(cell)
Next
the GetShippingInfo checks the values and either does or does not create the list item based on the validity of the data in the cell passed in.
Most workbooks contain between 1 and 25 entries, but we are aware that there are some (direct mail, for example) where the number of entries will be quite large.
apparently, when the number gets to about 548, Excel loses its mind, and changes the formula in a cell on another worksheet (in the same workbook) to the value... like a copy/paste value
except that this is the only time it does it, and the code line where the break actually occurs is just reading from an entirely different cell on the Shipping Worksheet...
Is there some undocumented limitation somewhere that I'm obviously not aware of?
We tried breaking it up into multiple iterations of 500 rows at a time. That pushed the error out to about row 570, but this is still not acceptable.
Help?
The final possibility I've come up with, I don't exactly know how to do. I'd like to just close the workbook without saving changes, and without bringing up the 'do you want to save changes?' dialog box. If you know how to do that, I'll take
that as a solution, as then the formula would still be in place, as at this point, the application does not need to save the file.
Thanks for your help.