Created attachment 74876 [details] xltest.xls contains a basic library named "VBAProject" that can be used to reproduce the problem. Open an Excel document which contains a basic library Select Tools > Macros > Organize macros > LibreOffice basic Click on "Organizer..." button Go to "Libraries" tab and select the library to export Click on "Export", select "Export as BASIC library" and export the library LibreOffice crashes suddenly with error : terminate called after throwing an instance of 'com::sun::star::container::NoSuchElementException'
http://cgit.freedesktop.org/libreoffice/core/commit/?id=6033e2d29d7ee9df5201c9834ba6b070da03e98e
It's now possible to export a Basic library from an Excel document.
This bug fix comes with LibreOffice 4.4 (release notes https://wiki.documentfoundation.org/ReleaseNotes/4.4)