diff --git a/source/easymacro/easycalc.py b/source/easymacro/easycalc.py index 5153660..a7bfa0b 100644 --- a/source/easymacro/easycalc.py +++ b/source/easymacro/easycalc.py @@ -794,6 +794,10 @@ class LOCalc(LODocument): """Insert new sheet""" self._sheets[key] = value + def __delitem__(self, key): + sheet = self._sheets[key] + self._sheets.removeByName(sheet.Name) + def __len__(self): """Count sheets""" return self._sheets.Count