Code:
With ActiveSheet.OLEObjects.Add(ClassType:="Forms.CommandButton.1", Link:=False, _
DisplayAsIcon:=False, Left:=378, Top:=130.5, Width:=31.5, Height:=15.75)
.Name = "a"
.Caption = "a"
End With
Error occurs on the red line. I can edit the caption just fine, but I have to do it in a separate block. The name sets fine, why won't the caption?