Skip to content

Instantly share code, notes, and snippets.

@cwg999
Created June 28, 2017 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwg999/7c48c05a5fb4e168e96e77c55d08742d to your computer and use it in GitHub Desktop.
Save cwg999/7c48c05a5fb4e168e96e77c55d08742d to your computer and use it in GitHub Desktop.
Create a Checkbox VBA
Sub Macro1()
Set cb = ActiveSheet.CheckBoxes.Add(99.75, 78, 24, 17.25)
With cb
.Name = "test"
.Value = xlOff
.LinkedCell = "$A$1"
.Display3DShading = False
End With
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment