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

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