Search code examples
exceluserform

Excel VBA:How to wrap text in a UserForm command button


UserForm with unwrapped text

Hello, the "Add New Subsections" button is actually titled "Add New Subsections Only" so I need to wrap the text.

I've tried googling and not had much luck, right clicking the button in the UserForm edit screen and clicking properties also doesn't do anything.


Solution

  • Select button and set WordWrap property (righclick on button -> Properties) to TRUE:

    enter image description here

    Also, this question is more suitable to SuperUser.