Herbert Eppel wrote:
On 20.10.2005 06:18 UK Time, Herbert Eppel wrote:
On 19.10.2005 00:54 UK Time, Morgan Olsson wrote:
Herbert Eppel 06:09 2005-10-18:
Thanks for this. I was a ware of the "Paths" option, but I just had
another look and I still can't see the macro location in there.
I _guess_ it is that line named BASIC, for starbasic macros (maybe
the other macro languages too?). See what you find on that path.
(Personally I have not used macros since StarOffice 5.x ...)
More specifically, I found my macros in
...user\basic\Standard\Module1.xba
By the way, I'm very much a beginner when it comes to macros in OOo,
although I had some very useful advice from members of this list back
in May (mainly under 2 threads starting "Macro for setting ..."), so
I know where to start when I do get my teeth into OOo macros, so to
speak (which I may well try and do soon, now that I know how to move
macros between different versions). Thanks a again for your input.
I spoke too soon - I copied Module1.xba to
...Application Data\OpenOffice.org2\user\basic\Standard,
but my macros are nowhere to be seen under My Macros\Standard\Module1
in the "OpenOffice.org Basic Macros" window =-O
Perhaps one can't simply copy Module1.xba and one has to manually copy
the actual macro text into the "My Macros & Dialogs.Standard" window?
I can't help feeling that I am missing something very simple and basic
here :-\
Regards
Herbert Eppel
Yes, it is simple, but you need to know the secrete :-)
You need to IMPORT the old macros. It turns out that the way that OOo
knows about your macros, is that it has an XML file. THe file tells it
where the macros are that it should look for. Now, just because you
copied macros around, does NOT mean that your system knows that they are
there. Did you follow that? Well, either way, you need to do something
like this (from memory so I am probably going to get this wrong).
Use Tools | Maros | Organize Macros | OpenOffice.org Basic to open the
first dialog. Next,
Click on the organizer button to open the library dialog.
Click on the Libraries tab.
Be certain to select "My Macros & Dialogs" from the Locations field.
Now, Click the Append button and go from there...
Hope This Helps.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
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]