Help with fitting text in textbox

B

Badtaste2k

Hi, could someone help me figure out how to make text fit within a textbox
which has a set size? Basically I need the text to adjust it's size in order
to fit the entire length of the string within a textbox on a userform. The
textbox size is constant but the length and font of the text is variable.
Any help would be greatly appretiated.

Dan Butler
(e-mail address removed)
 
C

Chip Pearson

Dan,

Set the AutoSize property to True.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top