Enabling VBA support in LibreOffice Basic enables a number of functions that are not otherwise available, such as InstrRev
.
I would like to have the option to use these functions when necessary because it appears, at least in some cases, that there is no equally simple, elegant alternative in native LibreOffice Basic (if this is incorrect, let me know).
However, I would also like to make sure that this does not have unintended negative consequences down the line. I have heard, for example, that enabling VBA support may affect the arguments and return values of a number of functions that LibreOffice Basic and VBA have in common, and it seems clear that this can create compatibility issues with macros that were written without VBA support enabled.
Assuming the following:
- Compatibility with VBA is not actually required. The LibreOffice Basic code that I write does not need to run under VBA, only under LibreOffice Basic
- The code does not need to be compatible with macros from external sources. I will not be trying, for example, to integrate my macros with macros that I find on Github. On the other hand, if anyone would like to use my code in their own projects, it will be their responsibility to adapt it to ensure compatibility.
Given these assumptions, are there any possible negative consequences of enabling VBA support that I have overlooked?