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

From The Document Foundation Wiki
Jump to navigation Jump to search
    doc = XSCRIPTCONTEXT.getDocument()
    sheet = doc.Sheets[0]
    doc.getCurrentController().setActiveSheet(sheet)