This article details how to protect/lock cells in Excel that are populated when run in Report Designer.
Note: This was tested in Excel. This may not work in the web portal.
Method
To lock a specific cell, follow these steps:
- Edit the Report in Excel. Make sure it starts as an unprotected sheet.
- Select the cell you wish to lock in Design mode.
- Right-click and select Format Cells.
- Select the Protection tab and check Locked.
- Select the cell you wish to unlock in Design mode.
- Right-click and select Format Cells.
- Select the Protection tab and uncheck Locked.
- Go to the Solver Reporting ribbon tab in Excel and select Report Properties.
- Under the Protection tab, type in a password.
- In the same window, select the Budgeting tab and check Protect non-input cells.
- Finally, go back to Excel, go to the Review ribbon tab and select Protect Sheet.
- In the pop-up, have only “Select unlocked cells” checked.
- Run the report and only the unlocked cells should be typeable.