Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Userform Colors

Status
Not open for further replies.

peterpcu

MIS
Sep 15, 2005
31
0
0
GB
Hi,

I know how to change the background color of a userform using VBA - but is it possible to change the color of the top userform title bar? eg the bit that holds the caption text?

Regards

Pete

 
Code:
Private Sub CommandButton1_Click()
    Me.BackColor = vbRed
End Sub
Title bar is depending to the sytem color scheme. There can be API calls to change it...


________________________________________________________
Zameer Abdulla
Help to find Missing people
Seek counsel of him who makes you weep, and not of him who makes you laugh.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top