Through intellisense, I cannot find the backcolor fill setting for a checkbox shape within an Excel spreadsheet. I've used the "With" statement to make sure I'm selecting the one-and-only checkbox on the spreadsheet as well as the entire workbook. I'm not sure why this doesn't work?
Code:
With wsTemplate.Shapes(1)
.Fill.BackColor.RGB = RGB(170, 170, 170)
MsgBox .Name
End With
Last edited: