Examining Two Different Parts of VBA Code at Once

I’m working on a LibreOffice VBA project where it would be a big help if I could look at two different modules side-by-side. Is there a way to create a split screen in the Basic editor? Alternatively, is there a way to have two Basic editor windows open at once?

Thanks to the community for their help!

I can’t find a built in way to do this but absolutely agree it would be a valuable enhancement.

I know you can manipulate the LibreOffice window via macros and I wonder whether you could do a similar thing to the Macro Editor window.

Agreed. One idea I had would be to open up one module in a separate code editor altogether. Does anybody know where LibreOffice stores global VBA code on a Linux machine?

I’m guessing, but \home\ .LibreOffice\4\User\Basic\Standard

In my case, since I have them installed via flatpak, it was

~/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/basic/Standard/

Your suggestion gave me a starting point, though. Thanks!

1 Like

I would drop the VBA-garbage and start from scratch with a modern programming language!