Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Text-align in buttons userform

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

Gert-Jan


  #2   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
align text?? L.S. New Users to Excel 3 July 30th 09 01:42 AM
Align text in Excel? Mike Excel Discussion (Misc queries) 1 December 18th 08 05:43 PM
How to right-align text and numbers? [email protected] Excel Discussion (Misc queries) 3 November 3rd 08 02:25 AM
How to align text boxes? M.W. Excel Discussion (Misc queries) 1 August 18th 05 12:56 AM
Changing text size in option buttons on a userform Coen Burger Excel Programming 1 August 7th 05 09:04 AM


All times are GMT +1. The time now is 01:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"