Hi All,
I wasn't sure what was to be filled-in on the first sheet, or whether we were looking to put checkboxes there and have the others match val, or...?
Anyways, I hadnn't done much, but thought that rather than going through the sheets, maybe a temp mac to do what Malcom pointed out as to consistent names.
Sub xxx()
Dim wks As Worksheet
Dim shp As Shape
For Each wks In ThisWorkbook.Worksheets
If Not wks.Name = "Sheet1" Then
wks.Unprotect
For Each shp In wks.Shapes
If shp.Type = msoFormControl Then
'Debug.Print shp.Name & vbTab & shp.TopLeftCell.Address & vbTab & _
shp.BottomRightCell.Address
Select Case shp.TopLeftCell.Address(False, False)
Case "E1": shp.Name = "chkSubject"
Case "F1": shp.Name = "chkNotSubject"
Case "B3": shp.Name = "chkDayShift"
Case "C3": shp.Name = "chkSwingShift"
Case "D3": shp.Name = "chkGraveyardShift"
End Select
End If
Next
wks.Protect , True, True, True
End If
Next
End Sub
Mark