Translations:Macros/Python Guide/Calc/Calc sheets/36/es

From The Document Foundation Wiki
Jump to navigation Jump to search
    doc = XSCRIPTCONTEXT.getDocument()
    sheet = doc.createInstance('com.sun.star.sheet.Spreadsheet')
    doc.Sheets.insertByName(sheet, 0)