How would i generate a random form background color? Thanks
Printable View
How would i generate a random form background color? Thanks
Hi.
Do you want a random RGB value or what?
In that case do this.
Regards,Code:Dim lRGB As Long
Randomize
lRGB = RGB(CInt(255 * Rnd()), CInt(255 * Rnd()), CInt(255 * Rnd()))
Michael