ohhhhhhhhhhhhhhhhh....
Why the text not is alligned in the middle of label but in the top????????
See image.
Possible to set via code?
note:
- i use vba for excel
- the label is on userform
Printable View
ohhhhhhhhhhhhhhhhh....
Why the text not is alligned in the middle of label but in the top????????
See image.
Possible to set via code?
note:
- i use vba for excel
- the label is on userform
That is actually a text box. From a VBA userform, I don't believe you can completely align it in the middle, but you can center it, and you can adjust the size of the box or the font of the text...
To align in the Center:
Code:Userform1.TextBox1.TextAlign = fmTextAlignCenter