Ask Your Question

empty basic library: how to remove

asked 2020-05-13 11:40:52 +0100

Lupp gravatar image

A document contained two Basic libraries: Standard and Library1.
After some testing the modules of Library1 were successfully deleted. The library itself, though empty, couldn't be deleted using the organizer. It is still shown for the reloaded document and listed in the Basic/script-lc.xml and in the Dialogs/dialog-lc.xml subfiles wrapped into the file of the saved document.

Do I need to manipulate the archive?

edit retag flag offensive close merge delete


By the way: I actually did it manipulating the archive. However, that's not a reasonable way for everyday use.

Lupp gravatar imageLupp ( 2020-05-13 11:47:59 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-05-13 20:01:22 +0100

Jim K gravatar image

To test this, I created Standard and Library1 in an .odt document with two macros containing a MsgBox command. Saved, closed, and verified that the file contained Basic and Dialogs subfolders when unzipped.

Then I went to Tools -> Macros -> Organize Dialogs -> Libraries, changed the location to the document, and deleted Library1.

Since the Standard library could not be deleted, I changed to the Modules tab, selected Module1 under Standard and deleted it.

After saving, exiting and reopening, all macro libraries are completely gone. No "Enable Macros" warning, and no Basic or Dialogs subfolders when unzipped.

Version: on Windows

edit flag offensive delete link more


Thanks - and strange: I didn't succeed with deleting an empty library from a .ods.
Will try again tomorrow.

Lupp gravatar imageLupp ( 2020-05-13 22:50:11 +0100 )edit
Login/Signup to Answer

Question Tools



Asked: 2020-05-13 11:40:52 +0100

Seen: 47 times

Last updated: May 13 '20