Here are the screenshots for the protection options.
- EPM protection options: with "Format Cells" and "Edit Context Options" chekced
And yes, we use 2 EPMFormatting Sheet, one for the report and an other one for the input form (with « Unlock Selected Cells » option).
We also use a macro Excel to refresh all this report and here is the code VBA:
---------------------------------
Dim EPMRefreshExp As New FPMXLClient.EPMAddInAutomation
Sub RefreshExp()
EPMRefreshExp.RefreshActiveSheet
With ActiveSheet
.EnableAutoFilter = True
.EnableOutlining = True
.Protect Contents:=True, Password:="password", UserInterfaceOnly:=True
End With
End Sub
--------------------
Thanks a lot.
Regards.