Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2014, 01:33 PM
Deltaj Deltaj is offline Insert superscript into a textbox Windows 7 64bit Insert superscript into a textbox Office 2013
Novice
Insert superscript into a textbox
 
Join Date: Nov 2014
Posts: 5
Deltaj is on a distinguished road
Default Insert superscript into a textbox

I can write code to place a text string into a textbox and control the font name and size etc. The text could be something like this "Summer Show Saturday 12th July 2014".


I have tried many things but so far have been unable to get the "th" to become a superscript.
Can anyone tell me if it is impossible so I don't waste any more time trying to do it, or is there a clever way to do it?
Thanks for any help.
Reply With Quote
  #2  
Old 11-30-2014, 02:48 PM
macropod's Avatar
macropod macropod is offline Insert superscript into a textbox Windows 7 64bit Insert superscript into a textbox Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,915
macropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud of
Default

I have already answered this at: https://social.msdn.microsoft.com/Forums/office/en-US/3698aa76-1187-4e87-9cfe-f38be51e93a2/alter-text-in-a-text-box-to-obtain-a-date-superscript-using-vba?forum=worddev

Also cross-posted at: http://www.vbaexpress.com/forum/show...ext-in-textbox
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 11-30-2014, 04:04 PM
Deltaj Deltaj is offline Insert superscript into a textbox Windows 7 64bit Insert superscript into a textbox Office 2013
Novice
Insert superscript into a textbox
 
Join Date: Nov 2014
Posts: 5
Deltaj is on a distinguished road
Default

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.
I can confirm the code works beautifully. I will have to spend a lot of time understanding the coding which looks quite advanced.
Thanks again
Derek Sharp
Reply With Quote
  #4  
Old 11-30-2014, 04:23 PM
macropod's Avatar
macropod macropod is offline Insert superscript into a textbox Windows 7 64bit Insert superscript into a textbox Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,915
macropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud ofmacropod has much to be proud of
Default

The three forums in question are not linked in any way, but that is not the point. The point is that, by posting in three different forums and not letting on, people might have wasted time developing essentially the same solution someone else had already provided or, if further information was needed, people might have wasted time asking questions that had already been answered elsewhere.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Tags
insert, superscript, textbox

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert text in freeform graphic (make it a textbox) fzr Word 2 09-03-2014 05:54 AM
Insert superscript into a textbox Replace with superscript in Word 2013 docbike Word 4 04-07-2014 05:23 PM
Insert superscript into a textbox Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM
How to insert a hyperlink in activex textbox Joe Patrick Word VBA 1 10-03-2011 06:03 AM
Combining Files--Superscript problem lindajacques PowerPoint 0 01-06-2011 01:20 PM


All times are GMT -7. The time now is 11:15 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft