I have the following code:
Code:
   Dim ctrl As Control
   
   On Error Resume Next
   For Each ctrl In Me.Controls
      ctrl.BackColor = 15136253
   Next
And when I run it, it changes the backcolor of everything on the form except commandbuttons.
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.