Microsoft Office Forums Can't go to next line in text box

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2016, 09:06 PM
littlepeaks littlepeaks is offline Can't go to next line in text box Windows 7 64bit Can't go to next line in text box Office 2010 32bit
Novice
Can't go to next line in text box
 
Join Date: Jan 2012
Location: Colorado Springs, CO
Posts: 7
littlepeaks is on a distinguished road
Default Can't go to next line in text box

I have a text box in userform1 for a Word document. The behavior is if you double click on the text box, it copies the name and address into the text box from another source. This works OK.

I want people to also be able to type the name and address in the text box manually. But when you finish typing the name and hit carriage return, the next text box gets focus for text input. I have textbox multiline property set to true.

I have another similar macro where a similar name and address text box works properly -- so probably something dumb I've overlooked.



Please help.
Reply With Quote
  #2  
Old 07-29-2016, 10:19 AM
gmaxey gmaxey is online now Can't go to next line in text box Windows 7 32bit Can't go to next line in text box Office 2010 (Version 14.0)
Word MVP 2003-2009
 
Join Date: May 2010
Location: Marble, NC
Posts: 860
gmaxey will become famous soon enoughgmaxey will become famous soon enough
Default

Hit Shift+Enter or change the EnterKey Behavior property from false to true
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 07-29-2016, 10:49 AM
littlepeaks littlepeaks is offline Can't go to next line in text box Windows 7 64bit Can't go to next line in text box Office 2010 32bit
Novice
Can't go to next line in text box
 
Join Date: Jan 2012
Location: Colorado Springs, CO
Posts: 7
littlepeaks is on a distinguished road
Default

Thanks gmaxey -- both solutions work.
Don't see how to mark the thread solved.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock line so text does not move to next line saundrals Word 2 06-19-2014 03:59 PM
Can't go to next line in text box I canīt see images In line with text magotas Word 2 03-01-2012 01:40 AM
Can't go to next line in text box Need help on Macro 03- Find text - if text is blank then remove line simpleonline1234 Word VBA 1 02-25-2011 02:28 AM
Can't go to next line in text box One line of text - two formats? judicial85 Word 4 02-18-2011 04:24 AM
Can't go to next line in text box Line breaks at each line in Web text ahazelwood Word 5 01-06-2011 02:37 PM


All times are GMT -7. The time now is 05:45 PM.


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