All,
I've been working on a budget template that has protected sheets with certain cells being made unprotected for the user to input data. Many of these unprotected cells have been grouped together for esthetic reasons.
I'm trying to group and ungroup these data inputs while continuing to lock down the individual sheets.
I've used the code below in the VB Editor under "THIS WORKSHEET" but am having no luck getting the groupings to be accessible when I protect the sheet with the same password.
Any clue as to what I'm doing wrong?
....... [See Code Below] .......
Private Sub Workbook_Open1()
With Sheet7
.Protect Password:="secret", UserInterfaceOnly:=Tru
.EnableOutlining = True
End With
End Sub
Private Sub Workbook_Open()
With Sheet6
.Protect Password:="secret", UserInterfaceOnly:=Tru
.EnableOutlining = True
End With
End Sub
Private Sub Workbook_Open2()
With Sheet8
.Protect Password:="secret", UserInterfaceOnly:=True
.EnableOutlining = True
End With
End Sub
Bookmarks