Basic command Protection.FormulasHidden
Verfasst: So, 09.06.2019 15:00
Hallo,
Ich suche das Basic-Kommando für [Protection] -> [Hide Formula].
Ich suche das Basic-Kommando für [Protection] -> [Hide Formula].
deutsches Forum rund um Apache OpenOffice und LibreOffice
https://de.openoffice.info/
Code: Alles auswählen
Sub Main
cell = ThisComponent.Sheets.getByName("Tabelle1").getCellRangeByName("A1")
cp = cell.CellProtection
cp.IsFormulaHidden = True
'cp.IsHidden = True
cell.CellProtection = cp
End Sub