Hi ALl
Hoping someone will be able to help me out there, I've been racking my brains and cannot find a solution.
Please see code below. The intention is to apply protection to the sheet whilst allowing ActiveX functionality (i.e. use of slider bars) whilst the worksheet is protected. It had been working until recent, however now getting a Run-time error '51721' Application-defined or object-defined error
Private Sub Workbook_Open()
Application.EnableEvents = True
Application.Calculation = xlSemiautomatic
Application.ScreenUpdating = False
With Worksheets("RPOA Calculator")
.Protect Password:="commercialrpoa", UserInterfaceOnly:=True
.EnableOutlining = True
End With
End Sub
Your help appreciated!
Mizogy
Hoping someone will be able to help me out there, I've been racking my brains and cannot find a solution.
Please see code below. The intention is to apply protection to the sheet whilst allowing ActiveX functionality (i.e. use of slider bars) whilst the worksheet is protected. It had been working until recent, however now getting a Run-time error '51721' Application-defined or object-defined error
Private Sub Workbook_Open()
Application.EnableEvents = True
Application.Calculation = xlSemiautomatic
Application.ScreenUpdating = False
With Worksheets("RPOA Calculator")
.Protect Password:="commercialrpoa", UserInterfaceOnly:=True
.EnableOutlining = True
End With
End Sub
Your help appreciated!
Mizogy