True if the formula will be hidden when the worksheet is protected. Read/write Boolean.
expression.FormulaHidden
expression Required. An expression that returns a Style object.
FormulaHidden property as it applies to the CellFormat and Range objects.
True if the formula will be hidden when the worksheet is protected. Returns Null if the specified range contains some cells withFormulaHidden equal to True and some cells with FormulaHidden equal to False. Read/write Variant.
expression.FormulaHidden
expression Required. An expression that returns one of the above obects.
Remarks
Don’t confuse this property with the Hidden property. The formula will not be hidden if the workbook is protected and the worksheet is not, but only if the worksheet is protected.
Example
As it applies to the CellFormat and Range objects.
This example hides the formulas in cells A1 and B1 on Sheet1 when the worksheet is protected.
Sub HideFormulas()
Worksheets("Sheet1").Range("A1:B1").FormulaHidden = True
End Sub