Nevertheless the snippet is now working with copy and paste.

http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip

Tom

Niklas Nebel wrote:
babar wrote:

I would like to know how to create a newblank sheet into an existing
spreadsheet document, I'm using basic language for now.

I've tried to use (and first understand ;) this :
http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip


Inserting a blank sheet is much easier than that. Just use insertNewByName from the XSpreadsheets interface, in Basic it's something like
oDoc.Sheets.insertNewByName("new",0)


Niklas

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




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



Reply via email to