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

From The Document Foundation Wiki
Jump to navigation Jump to search
    doc = XSCRIPTCONTEXT.getDocument()
    count = doc.Sheets.Count
    msgbox(count)