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

From The Document Foundation Wiki
Jump to: navigation, search
    doc = XSCRIPTCONTEXT.getDocument()
    sheet = doc.getCurrentController().getActiveSheet()
    msgbox(sheet.Name)