Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Sun, May 8, 2011 at 4:26 PM, Jean Hollis Weber <jeanweber@gmail.com>wrote:


--------------------
Where are macros stored?

LibreOffice stores user-specific data in a directory under the user’s
home directory. The location is operating system specific. Use Tools →
Options → LibreOffice → Paths to view where other configuration data is
stored. On Windows XP, this is C:\Documents and Settings
\<name>\Application Data. User macros are stored in LibreOffice\3\user
\basic. Each library is stored in its own directory off the basic
directory.

It is not important to understand where macros are stored for casual
use. If you know where they are stored, however, you can create a
backup, share your macros, or inspect them if there is an error.

Use Tools → Macros → Organize Dialogs to open the LibreOffice Macro
Organizer dialog. Another common way to open this dialog is to use Tools
→ Macros → Organize Macros → LibreOffice Basic to open the LibreOffice
Macros dialog and then click the Organizer button.

-----------------

The chapter talks about importing macros, but not about exporting them.
However, when you open the LibreOffice Macro Organizer dialog, go to the
Libraries page, and select any library other than Standard, you'll see
both the location of that file and an Export button. Click Export and a
little dialog pops up, giving you the choice to Export as BASIC library,
which you can then move to another machine and import. You can also
simply copy the directory from one machine to the other.

Hope this helps.

--Jean
Jean Hollis Weber
LibreOffice Documentation Team

This is the type of tip I was thinking of when I suggested a tips and
tricks by multiple authors for the documentation blog. Excellent!

-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.