So I'd like to create a column of check boxes. In addition, I'd like to be able to remove the default "alternative text" associated with these check boxes. Those of you who have used these boxes in Excel know they are pretty fickle. I cannot copy them, along with their linked cells, and spread them down a column, expecting the "linked cell" value to change accordingly.
I've come up with a macro:
The bolded text is the offending line that isn't doing what I'd like to do. Can anybody help me out with this? I'm certain it's a piece of cake for many, but I'm quite a noob at this, as I don't know the syntax.
I've come up with a macro:
Public Sub LotsOfCheckboxes()
Dim cell As Range
For Each cell In Range("D4200")
With cell
With ActiveSheet.CheckBoxes.Add(.Left, .Top, 20, 20)
.AlternativeText = ""
.Value = xlOff
.LinkedCell = cell.Address
.Display3DShading = False
End With
End With
Next cell
End Sub
The bolded text is the offending line that isn't doing what I'd like to do. Can anybody help me out with this? I'm certain it's a piece of cake for many, but I'm quite a noob at this, as I don't know the syntax.
