Have a look at this post:
http://www.oooforum.org/forum/viewtopic.phtml?p=189530#189530 which
refers to this post showing how to create a link:
http://www.oooforum.org/forum/viewtopic.phtml?p=66195#66195
This post (at the end of the thread containing the first) shows how to
break the link:
http://www.oooforum.org/forum/viewtopic.phtml?p=190406#190406
The result is that the sheet is copied into the other file.
Mathias Röllig wrote:
Am 09.03.2007 16:46 schrieb Mathias Röllig:
Hello!
I want copy a sheet from a document to another document by using a basic
script that is embedded in the first document.
After searching in the mailinglists I have found
http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=6847
where Stephan (3,5 years ago) described a solution with the dispatch
API. So I use the same subject. But the problem is, that the original
sheet must be visible.
I forgot another problem: I use named areas at the sheet. If i copy the
content of the sheet into a sheet by the described way, the named areas
will work only if the sheet in the new document have the same internal
number as the original sheet - even if the new sheet have the same name
as the original sheet.
Is there meanwhile another solution? e. g. saving the sheet as a object
variable and insert it into the new document?
Thank you for help
Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]