Check the sheet names against the checkbox captions:
Sub BensDebug()
Dim i As Long
Debug.Print "Sheet Name", "Name Length"
For i = 1 To Sheets.Count
Debug.Print Sheets(i).Name, Len(Sheets(i).Name)
Next i
Debug.Print
Debug.Print "Caption Text", "Caption Text Length"
For i = 1 To 5
Debug.Print ActiveSheet.OLEObjects(i).Object.Caption, Len(ActiveSheet.OLEObjects(i).Object.Caption)
Next i
End Sub
Results:
Sheet Name Name Length
RA01 5
RA02 5
RA03 5
RA04 5
RA05 5
MAJ 3
Caption Text Caption Text Length
RA01 4
RA02 4
RA03 4
RA04 4
RA05 4
Notice the spaces at the beginning of the actual sheet names, ergo, the caption <> sheet.name
Bookmarks