BillyMcNeal
Technical User
I'm new to VBA (taught myself yesterday) and was wondering the notation I would need to use to create a large number of check boxes linking to different cells.
I'm sure you can get the gist of what I'm looking for with how I tried to do it:
Thanks for your help.
I'm sure you can get the gist of what I'm looking for with how I tried to do it:
Code:
Dim Row, Column As Integer
Row = 9
Column = 14
Do While Row < 12
ActiveSheet.CheckBoxes.Add(717, 124.5 + (Row - 9) * 12.75, 24, 17.25).Select
Selection.Characters.Text = ""
Selection.ShapeRange.IncrementLeft -1.5
Selection.ShapeRange.IncrementTop -4.5
With Selection
.Value = xlOff
.LinkedCell = Worksheets("Turning Movements").Cells(Row, Column)
.Display3DShading = True
End With
Range("O12").Select
Row = Row + 1
Loop
End Sub
Thanks for your help.