# 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

edit retag close merge delete

( 2020-02-04 09:43:49 +0100 )edit

Sort by » oldest newest most voted

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.

more