Change the location of macros

Hello, I would like to change the path to the macros at LibreOffice.

The macros are currently in the path …
C: \ Users \ [USER] \ AppData \ Roaming \ LibreOffice \ 4 \ user \ basic
…saved.

I would like to have the macros permanently saved elsewhere.
I know that I can export the modules and macros, but that doesn’t change the storage location.

Thank you very much

crossposting: Speicherort von Makros ändern

The macro libraries are stored in the user profile. There is a way to create and use a profile stored in a different place: see -env command line switch.

The default profile location is defined in bootstrap.ini file located in your LibreOffice installation directory (usually C:\Program Files\LibreOffice\program). The value there is $SYSUSERCONFIG/LibreOffice/4, which means the profile created and used by default (i.e., when LO is started using normal shortcuts without any switches) is in user’s AppData\Roaming. I don’t recommend to modify the setting in bootstrap.ini, since that will be reverted on upgrade anyway.

I don’t think there’s a way to move libraries path independently from the whole profile.

Ok thanks.

Yes, we would like to be able to specify the location for storage of macros.
Options, LibreOffice, Paths would be a suitable place to include this setting.
Then multiple users can share the macros (ie share the love), same way we share the settings for AutoCorrect, Images, Documents, etc.

hi, in Linux (Ubuntu) this is very easy:

  1. copy the /basic folder to a save place in case you get messed up
  2. copy the /basic folder to the location you desire
  3. create a link of the folder …4/user/basic that points to the location in step2
    done
    Don’t know if windows allows such links, but it should be possible.
    rgds, Charly