I have the following code:
And when I run it, it changes the backcolor of everything on the form except commandbuttons.Code:Dim ctrl As Control On Error Resume Next For Each ctrl In Me.Controls ctrl.BackColor = 15136253 Next
All the commandbuttons remain in the color that they had at design time (gray)
Why is it that the above code does not catch commandbuttons?
And how can I fix it to catch commandbuttons?
Thanks.