+ Reply to Thread
Results 1 to 6 of 6

Alingment of word in a text box to 90 degree angle

  1. #1
    Forum Contributor ebin charles's Avatar
    Join Date
    03-31-2010
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    255

    Exclamation Alingment of word in a text box to 90 degree angle


    Hey I am using userform to enter the details of employees.
    In that form I need to make various text box, when I made i can see the word in textbox
    is 0 degree which we can read from left to right.

    But i need as i shown in picture i attached. it should be 90 degree to read from bottom to top.

    Can u help me please in this regard.

    Thanks
    Charles
    Attached Images Attached Images

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Alingment of word in a text box to 90 degree angle

    Hello Charles,

    As far as I know, textboxes in UserForms can not be rotated, nor can the text therein be angled in any way.

  3. #3
    Forum Contributor ebin charles's Avatar
    Join Date
    03-31-2010
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    255

    Re: Alingment of word in a text box to 90 degree angle

    Thank you sir.

    I really miss that format.

    thank you

    Charles

  4. #4
    Forum Contributor ebin charles's Avatar
    Join Date
    03-31-2010
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    255

    Re: Alingment of word in a text box to 90 degree angle

    Sir

    Can I get at least in the format I attached.

    Is there any idea to make my textbox to look like how my attached image shows.

    Please help me.

    Charles
    Attached Images Attached Images

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Alingment of word in a text box to 90 degree angle

    Just size it to a vertical based shape as you have shown.

    Then set the Wordwrap property to True
    and set Autosize to False

    It is by no means clever, it's a bit hit or miss depending on the letter combinations in the string, like a wide letter being followed by two narrow ones.

    Just make the box narrower until you get an acceptable result.

    To separate words you will have to use " - " spaces are not recognised by Wordwrap

    Therefore "Saudi Arabian" has to be "Saudi - Arabian"

    As I said
    It's not pretty, and it is not ugly, it's just pretty ugly!!

    Cheers.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Alingment of word in a text box to 90 degree angle

    Do you really need textboxes or would a label do?

    If you take Marcol's suggestion and and a LF between each character you will get the stacked text.

    If you can make do with labels or in fact pictures then you maybe able to use the approach I show in this workbook.
    http://www.andypope.info/vba/userformdraw.htm
    Cheers
    Andy
    www.andypope.info

+ 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