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

    From The Document Foundation Wiki

    doc = XSCRIPTCONTEXT.getDocument()
        count = doc.Sheets.Count
        msgbox(count)