It works! This is how I wrote the code:
Buttons are named: Button1, Button2....
For i As Integer = 1 To 15
Me.Controls("Button" & i).BackColor = Color.Blue
Next i
Thanks SolidAir!!
I need to change backcolor to multiple buttons(ex. 15 buttons) at once. I mean,I dont want to write the code
" button1.backcolor=color.red " 15 times!! Any ideas?