ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Text alignment in User Forms (https://www.excelbanter.com/excel-programming/412755-text-alignment-user-forms.html)

Rob

Text alignment in User Forms
 
I have created a user form using VBA, I added a text label. I can change the
text alignment horizontally to fit the center of the label box. How can I
change the vertical Alignment of the text in the label box so it to is in the
middle. Under the behaviour in the Properties box their is no option to align
center vertical.

Rob Bovey

Text alignment in User Forms
 
"Rob" wrote in message
...
I have created a user form using VBA, I added a text label. I can change
the
text alignment horizontally to fit the center of the label box. How can I
change the vertical Alignment of the text in the label box so it to is in
the
middle. Under the behaviour in the Properties box their is no option to
align
center vertical.


Hi Rob,

No, there is no vertical alignment option for UserForm labels. You just
have to physically move them up or down to position the text vertically on
the form.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm



Rob

Text alignment in User Forms
 
Okay, have to move them physically then.
Cheers
Bob

"Rob Bovey" wrote:

"Rob" wrote in message
...
I have created a user form using VBA, I added a text label. I can change
the
text alignment horizontally to fit the center of the label box. How can I
change the vertical Alignment of the text in the label box so it to is in
the
middle. Under the behaviour in the Properties box their is no option to
align
center vertical.


Hi Rob,

No, there is no vertical alignment option for UserForm labels. You just
have to physically move them up or down to position the text vertically on
the form.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm





All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com