Consulting

Results 1 to 3 of 3

Thread: Add superscript to text in textbox

  1. #1
    VBAX Newbie
    Joined
    Nov 2014
    Posts
    2
    Location

    Add superscript to text in textbox

    Using VBA I can write text to a textbox such as "Friday 10th November". I can set the font, font size, etc but so far have failed to find a way to set "th" as a superscript. I have tried things that might work but get errors such as "not supported", "out of range" and so on. I have almost come to the conclusion it is not possible, but perhaps someone here has a solution?
    Thanks for any help.

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    I have already answered this at: https://social.msdn.microsoft.com/Fo...?forum=worddev

    Also cross-posted at: http://www.msofficeforums.com/word-v...o-textbox.html
    For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    VBAX Newbie
    Joined
    Nov 2014
    Posts
    2
    Location

    Thanks and apologies for the crosss posting

    Thank you for your solution which I look forward to implementing. I didnt realise how closely linked these forums were and apologies for the unnecessary duplication of effort. Previously I had been working on Joomla where the forums seem disconnected so I commoinly posted a question in different places.
    I appreciate your time and expertise. VBA is very new to me and its proving an interesting and challenging exercise.

Tags for this Thread

Posting Permissions

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