+ Reply to Thread
Results 1 to 4 of 4

Formatting alignment in User Form Textboxes

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Formatting alignment in User Form Textboxes

    I'm looking through all the property catagories but can't seem to find vertical and horizontal centering. Is that something I can do through the properties or during userform initializing? Thanks
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Formatting alignment in User Form Textboxes

    TextAlign does the horizontal centering. You can't control the vertical centering but there are ways to fudge it.
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Formatting alignment in User Form Textboxes

    Didn't you find 'textalign' ?



  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formatting alignment in User Form Textboxes

    Quote Originally Posted by snb
    Didn't you find 'textalign' ?
    LOL, somehow I missed that. The length of the text may vary (this is for the Questions and Answers in Jeopardy) so I think I'll be content with the horizontal centering and not worry about vertical. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1