On Sat, 16 Feb 2008 21:55:38 +0000 Andy Lewis <[EMAIL PROTECTED]> dijo:
> > Conclusion: Either I have misunderstood something, or I am screwed. > > You can't copy the Standard library, but you can copy (or move) a module > or modules from the Standard library in your document into the Standard > library in "My Macros", so that the macros it contains are accessible > from any document. > > Open your document > > Tools - Macros - Organise macros - OpenOffice Basic... > > Click the Organiser button on the right. > > This should open a tree box showing My Macros, OpenOffice Macros, and > your open document's macros. > > Click the plus sign next to My Macros, to see the libraries. > Click the plus sign next to the Standard library to see the modules it > contains. > Do the same with your document. > Now you should be able to simply drag the module containing your macros > up to the My Macros Standard library - it will show as a black line in > the place where you want to drop it. If you hold down Ctrl while > dragging, it will make a copy rather than moving the original module. > > (You will need to make sure the module doesn't have the same name as a > module already in My Macros Standard. If you need to change a module > name, click on the module name, and click Edit. This will open the > basic editor. Right click on the tab at the bottom which shows your > module name, and click on Rename.) > > (Also, if any lines in your code make reference to a particular location > of a module or library, you will need to re-write that line of code to > take account of the new location.) Andy, That worked. I had to rename Module 1 to Module 2 in order to move it, but at least with your instructions I was able to do so. I never even saw the tab at the bottom of the editing window, let alone know that was how you renamed a module. My macros are now in My Macros and Dialogs and available in all documents as I wanted. They're in two different modules, but that doesn't matter as long as I can get to them. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
