Change the color of a UserForm

A

Angie M.

Hi,

I'm wanting to change the BackColor property of my user form to something
other than what's available from the Properties window (the palett and the
system colors). I tried this:

frmMyForm.BackColor = RGB(0, 128, 64)

inside the form initialization procedure but no go. Help wasn't any help
either.

Thanks in advance for any help.
 
D

Doug Robbins - Word MVP

Using

UserForm1.BackColor = RGB(0, 128, 64)

turns the background colour to a dark blue green for me.

Are you sure that frmMyForm actually refers to your form.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
A

Angie M.

Thanks

Doug Robbins - Word MVP said:
Using

UserForm1.BackColor = RGB(0, 128, 64)

turns the background colour to a dark blue green for me.

Are you sure that frmMyForm actually refers to your form.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top