I am struggling with linking ticks in checkboxes to values in other list and making formatting based on this afterwards.
(i. e. person clicks the checkbox and the cell turns grey)
So, I have a number of check boxes, each text box is labeled as
"Check Box 1" ... "Check Box 44"
    Sub Link()
    Dim i As Long
    Dim checkbox(1 To 44) As checkbox
    For i = 1 To 44
        For Each element In checkbox
        ActiveSheet.Shapes.Range(Array(element)).Select
            With Selection
            .Value = xlOn
            .LinkedCell = "Calculation!$A$" & "i"
            .Display3DShading = False
            End With
        Next
    Next
    End Sub
But it seems I am either selecting checkboxes wrong, or either assign their array in a wrong way. Any help would be very much appreciated.
 
    