The next error happens when I copy a text from a OpenOffice Basic macro (in Calc) and paste it in the same macro.
The inserted text exceeded the maximum lenght of this text field.
The text was truncated.
OpenOffice.org 2.4.1
Is it a bug?
Thanks in advance,
Geert Geerits
Inserted text exceededs the maximum length
Inserted text exceededs the maximum length
OpenOffice 4.1.10 and LibreOffice 7.1.3.2 on Windows 10 Pro
Re: Inserted text exceeded the maximum lenght
Hi Geert!
It is not a bug. There is a 64Kb limit for a module. Make another module in the same library. Use Public declaration for variables to use in both (all) modules of a library.
Uros
It is not a bug. There is a 64Kb limit for a module. Make another module in the same library. Use Public declaration for variables to use in both (all) modules of a library.
Uros
- Hagar Delest
- Moderator
- Posts: 32654
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Inserted text exceeded the maximum lenght
See also here (couldn't find the right keywords to find it here at first but uros wording rang a bell): Basic IDE: Copy / paste not working properly / safely.
You should report it as a bug, it doesn't seem to have been reported yet ([Tutorial] Reporting bugs or suggestions).
You should report it as a bug, it doesn't seem to have been reported yet ([Tutorial] Reporting bugs or suggestions).
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Inserted text exceededs the maximum length
Thanks for your answers.
The module is indeed greater then 64KB.
I can however type more lines in that module but not paste lines in it.
Geert Geerits
The module is indeed greater then 64KB.
I can however type more lines in that module but not paste lines in it.
Geert Geerits
OpenOffice 4.1.10 and LibreOffice 7.1.3.2 on Windows 10 Pro
Re: Inserted text exceededs the maximum length
It is an ugly bug especially if you are importing older documents with extensive macros. I wonder if there is a fix already. If not use previous version of OO.
OOo 2.3.X on Ubuntu 8.x + Windows NT