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

    From The Document Foundation Wiki

    doc = XSCRIPTCONTEXT.getDocument()
        sheet = doc.Sheets[0]
        doc.getCurrentController().setActiveSheet(sheet)