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
-- 
·-· cut here ·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·->8·-·

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

Reply via email to