ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   center aligning commandbutton text (https://www.excelbanter.com/excel-programming/429441-center-aligning-commandbutton-text.html)

Bishop

center aligning commandbutton text
 
I know that fmTextAlignCenter will align text horizontally but is there a way
to center text vertically?

Patrick Molloy

center aligning commandbutton text
 
..VerticalAlignment = xlCenter



"Bishop" wrote in message
...
I know that fmTextAlignCenter will align text horizontally but is there a
way
to center text vertically?




All times are GMT +1. The time now is 11:14 PM.

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