-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation list with more than 255 chars #38
Comments
Hi, chdem when the sum of array's elements length is bigger than 255, writeexcel thank you for your report. 'exit' should be replaced with 'raise' in line 302 in formula.rb. I'll fix cxn03651 2014-05-22 2:22 GMT+09:00 chdem [email protected]:
|
Hi cxn03651, So if your recommendation is to replace 'exit' by 'raise', there is no way to have a sum of array's elements length bigger than 255. In other words, we have a limit concerning the number of elements of a validation list. It's a pity. Is it a 8 bits xls binary format limitation ? I'm a ruby developper, but I have no knowledge about xls binary specs format. Is there any way to change this limitation ? Perhaps, with your directives, I could make some corrections, make some tests and if I reach a solution, I could push it on the git. Chdem |
it seems excel has limitation on data validation. you have another way:
|
@cxn03651 the above doesn't actually work. Writing then referencing the source from another worksheet produces an empty sheet. Adding the reference list to the same worksheet has some issues too, it shifts the reference as you move down in rows. For example, the item list is in |
Hi, vincentpaca Yes, that's bug! If you use write_xlsx gem, it works well. :-)
|
Yes. I've just tried that with write_xlsx and it works. :) |
I'm trying to create a data_validation list from an array with 10 elements.
I'm getting this error :
This test throught the error at line 302 of formula.rb :
Concatenation of my 10 array elements gave a string of more than 255 length chars.
The text was updated successfully, but these errors were encountered: