Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I display mixed-format text on a userform? 1

Status
Not open for further replies.

RobBroekhuis

Technical User
Oct 15, 2001
1,971
US
I'd like to display text that may contain superscripts, subscripts and italicized text on a userform. The label control does not have a characters object that accepts letter-by-letter formatting. Breaking it up into sublabels would be much too complicated (this text is generated dynamically). Is there another way?
Textboxes generated from the DRAWING toolbar can have formatted text, but I don't think I can put them on my userform - or can I?
Rob
 
Thanks Tyrone. I just checked, and I do have richtx32.ocx in my windows\system folder. How do I use it?
Rob
 
From the VBE window (code module), go to tools, references, browse, and point to the folder and file where the file resides. You should then be able to see it on your list of available references.

Before you do that, however, browse the available references to make sure it's not alreadt there. If it is, all you have to do is check it and you'll see it on your toolbar.

I've downloaded OCXs in the past, and set reference to them, only to have the system complain that I'm not licensed to use the control. Heads Up.

Tyrone Lumley
augerinn@gte.net
 
Check! Found it, did it. The rich text control is really overkill for what I'm trying to accomplish, but if there are no better options, I'll take it. Thanks for the help.
Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top