Centre Command buttons text in a userform

Hi,

I want to know how to centre the text in command buttons on a user form or have them all aligned to the left

Thanks
Seamus
Seamus2626Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
dlmilleConnect With a Mentor Commented:
Are we understanding the question?  In MY installation, all command buttons on userforms or on the worksheet already center the caption by default.

Seamus, have we understood the question?

To align a bunch of command buttons, select them all, then right click->Align and select the option desired.

Dave
0
 
kgerbConnect With a Mentor Chief EngineerCommented:
There is no alignment property for the text of a command button.  I would suggest using a label and setting the SpecialEffect property to frmSpecialEffectRaised.  It looks just like a command button and you have the ability to align the text however you like.

Kyle
0
 
NorieConnect With a Mentor VBA ExpertCommented:
Seamus

The caption on a command button is centred by default, and there's no setting for changing the alignment.
.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.