You can NOT copy the standard library using this method.

Library containers hold libraries. Each document is a library container (except for Base, but that will change with 3.0). OOo is also a library container and it contains "global" macros.

Libraries contains modules.

Modules contain macros

You can not use a macro unless the library that contains it has been loaded.

The Standard library is always automatically loaded so the contained macros are always available. Unfortunately, the special Standard library can not be imported.



John Jason Jordan wrote:
On Fri, 15 Feb 2008 23:50:05 -0500
Andrew Douglas Pitonyak <[EMAIL PROTECTED]> dijo:

John Jason Jordan wrote:
How can I copy a macro from one template or document to another
Tools | Macros | OpenOffice.org Basic | Organize macros

Click the organizer button

Select the Libraries tab

In the Locations drop down, select the macro container (document) to which you desire to copy macros

Click the Import button.

Now select the library that you desire to import...

Thanks for the instructions, but I can't get it to work. I think the
problem is that I do not understand what a library is, what a module
is, or where macros can be stored. In my case all my macros seem to be
stored in Standard, but every document has a "Standard" and when I try
to copy "Standard" from one document to the other I get an error
message that "Standard" already exists. I would overwrite it, but
sometimes the "Standard" has macros in it that I don't want to destroy.
I can't seem to get a window where the *macros* are displayed so I can
select just a macro to copy or move.

I have only half a dozen macros. I'd like them to be available
regardless of what document I am working with, that is, regardless of
which of my dozens of templates I used to open the document with. Can I
have macros that are not part of a document/template?

I'm sure there's a reason why this has to be so confusing.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to