Bit of a mess but works
Sub AddCheckBox()
Dim cell, c, rng As Range
Dim cb As CheckBox
DelCheckBox
Set rng = Range("F7:f20,F24:F32,f35:F67,F74:F89,f131:f141")
For Each cell In rng
With ActiveSheet.CheckBoxes.Add(cell.Left, _
cell.Top, cell.Width, cell.Height)
.LinkedCell = cell.Offset(, 0).Address(External:=T)
.Interior.ColorIndex = 37
.Caption = ""
End With
Next
For i = 97 To 129 Step 2
For Each cell In Range("F" & i)
With ActiveSheet.CheckBoxes.Add(cell.Left, _
cell.Top, cell.Width, cell.Height)
.LinkedCell = cell.Offset(, 0).Address(External:=T)
.Interior.ColorIndex = 37
.Caption = ""
End With
Next
Next
For Each cb In ActiveSheet.CheckBoxes
cb.Caption = Range(cb.LinkedCell).Row
Next cb
End Sub
Bookmarks