Forum Discussion
VBA - EXCEL - Userform
Hello there, I have a weird question.
I'm creating an excel file to manage a different list, everything works as it should but ...
I use what are called 'userforms', now my question, how do I change the background colour of the titel line. Foreground and font are no problem it's just the background.
Any help is welcome. Thanks in advance. Andy
Hi JK,
Thanks for your reply but I think I have solved my own problem.
I had a look at personalised themes in windows and colours and now it works.Regards, Andy
4 Replies
- JKPieterseSilver Contributor
As far as I'm aware, the title bar color and font is controlled by Windows. There are several options to change the appearance of a userform using Windows API functions, but that is not for the faint of heart!
Let me know if you want to learn more about this.
- AndyPeCopper Contributor
Hi JK,
Thanks for your reply but I think I have solved my own problem.
I had a look at personalised themes in windows and colours and now it works.Regards, Andy
- AndyPeCopper Contributor
Thanks JK.
I don't think I have ever used API, if it's not too difficult maybe you can put me on my way.Regards, Andy
- ArkikZeroIron Contributor
Just insert a user form in the VBA editor and bind the control events.