![]() |
#2
|
||||
|
||||
![]()
If you want to allow multi-line input and have the width expand to accommodate the number of characters on a line, you need to set:
• AutoSize = True • Multiline = True • WordWrap = False and either set: • EnterKeyBehaviour = True or rely on Shift-Enter to insert new lines. One problem you may experience is the textbox scrolling the top line out of view. Scrolling back to the top should fix that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
autosize, macro, textbox |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Hdata | Word VBA | 17 | 02-01-2014 06:50 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |
![]() |
scarymovie | Word VBA | 5 | 05-16-2012 07:05 PM |
textbox color issue | Dave Duncan | Word | 0 | 08-07-2011 10:38 AM |
Textbox Template | t0m46 | Word | 0 | 09-07-2010 03:38 AM |