Anyone has or know any online converter?
E.g I have RGB(255,17,63) and want to have VBA equivalent of this to change commandbutton backcolor.
Anyone has or know any online converter?
E.g I have RGB(255,17,63) and want to have VBA equivalent of this to change commandbutton backcolor.
CommandButton1.BackColor = RGB(255, 17, 63)
As Ken indicated, RGB is a VBA Function just like Left, Mid, and Right.
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ