View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
moon[_5_] moon[_5_] is offline
external usenet poster
 
Posts: 40
Default Text-align in buttons userform


Just be inventive.
Create a 24x16 jpg-image (depending on your button size) and give it color
#D4D0C8 (R 212, G 208, B 200)
In the Buttons properties, select that image and set PicturePosition to 1.
fmPicturePositionLeftCenter
Add a couple of spaces before the Buttons caption, and you're done.




"Gert-Jan" schreef in bericht
...
The text in standard buttons in userforms is center-aligned. Is it
possible to make it right / left?

Gert-Jan