Forum Discussion
gymsmalta
Apr 28, 2020Copper Contributor
How can I disable the Warning Pop ups on protected cells to make the document more user friendly
How can I disable the Warning Pop ups on protected cells to make the document more user friendly? All celled are protected and formulas hidden. Each time the protected cell is clicked on the warn...
- Apr 28, 2020
gymsmalta If you can use a bit of VBA, you can prevent that like so:
- Right-click the sheet tab and choose "View Code"
- Paste this code into the window:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Target.Cells(1, 1).Locked Then Cancel = True End Sub
Save-as your file to the xlsm type (Excel workbook with macro's)
JKPieterse
Apr 28, 2020Silver Contributor
gymsmalta If you can use a bit of VBA, you can prevent that like so:
- Right-click the sheet tab and choose "View Code"
- Paste this code into the window:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Cells(1, 1).Locked Then Cancel = True
End Sub
Save-as your file to the xlsm type (Excel workbook with macro's)
gymsmalta
Apr 28, 2020Copper Contributor
It worked perfectly many thanks, saved me hours and hours! - Thanks