Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2023, 09:59 AM
coffent coffent is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2019
Advanced Beginner
How to prevent Word from automatically selecting the CR/LF character?
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default How to prevent Word from automatically selecting the CR/LF character?

If I have the following two lines in a Word document:

abcd
efgh

and I select abc and replace it by pasting ABC, the result is as expected:



ABCd
efgh

However if I select abcd and paste ABCD the result is

ABCDefgh

That is, if the selection goes to the last character in a line, Word automatically selects the following cr/lf character as well with the result that the character is eliminated after the paste. How can I prevent Word from doing this? (Under Advanced Editing Options I have the box "When selecting, automatically select entire word" unchecked.)

Last edited by coffent; 04-07-2023 at 12:55 PM.
Reply With Quote
  #2  
Old 04-08-2023, 12:42 AM
gmayor's Avatar
gmayor gmayor is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Click the ¶ button in the Paragraph Group on the Home Tab to display the non-printing formatting characters, then when you select the text ensure that you don't select the end of line character.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 04-08-2023, 07:20 AM
coffent coffent is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2019
Advanced Beginner
How to prevent Word from automatically selecting the CR/LF character?
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default

Thanks for the suggestion. However I've already done that. In my example

abcd¶
efgh

if I drag the cursor over abc everything is fine. However if I drag it further, over the "d", then it also selects the ¶.
Reply With Quote
  #4  
Old 04-08-2023, 01:04 PM
Robert2 Robert2 is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2007
Competent Performer
 
Join Date: Jun 2013
Posts: 165
Robert2 will become famous soon enoughRobert2 will become famous soon enough
Default

Press Shift+Left Arrow key to unselect the paragraph end mark.
Reply With Quote
  #5  
Old 04-08-2023, 04:01 PM
coffent coffent is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2019
Advanced Beginner
How to prevent Word from automatically selecting the CR/LF character?
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default

Thanks Robert - that's a good-enough work-around. It would be nice, though, if Word would allow one to select, with the mouse only, the last word in a line without the following cr/lf character, in the same way that it allows the user the option of selecting only part of a word.
Reply With Quote
  #6  
Old 04-09-2023, 05:02 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline How to prevent Word from automatically selecting the CR/LF character? Windows 11 How to prevent Word from automatically selecting the CR/LF character? Office 2021
Moderator
 
Join Date: Aug 2011
Posts: 3,908
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

At File > Options > Advanced, clear the option "Use smart paragraph selection."
Attached Images
File Type: png smartParaSelection.png (40.4 KB, 9 views)
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #7  
Old 04-09-2023, 05:06 PM
Guessed's Avatar
Guessed Guessed is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,980
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Coffent - that is an optional 'feature' that happens to be turned on by default.

You can set your options in Word to NOT automatically expand the selection to include the paragraph mark.

Go to File > Options > Advanced > Editing Options
Turn off "Use smart paragraph selection"
also turn off "When selecting, automatically select whole word" do do the same for individual word selections.

I see Stefan has already posted the fix but I left this post on because the Whole Word setting is also an annoyance for me.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia

Last edited by Guessed; 04-09-2023 at 05:08 PM. Reason: Stefan got in first...
Reply With Quote
  #8  
Old 04-09-2023, 06:18 PM
coffent coffent is offline How to prevent Word from automatically selecting the CR/LF character? Windows 10 How to prevent Word from automatically selecting the CR/LF character? Office 2019
Advanced Beginner
How to prevent Word from automatically selecting the CR/LF character?
 
Join Date: Dec 2019
Posts: 40
coffent is on a distinguished road
Default

Perfect! Thanks to both of you, Stefan and Guessed.

It wasn't obvious, at least to me, that "Use smart paragraph selection" means "Don't automatically include the CR/LF character when selecting the last word on a line." In case anyone from Microsoft reads this who is in a position to change things, I'd like to suggest that it would be helpful if clicking or hovering the mouse over an option would bring up a "tip" explaining the option in more detail.
Reply With Quote
Reply

Tags
select



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent Word from automatically selecting the CR/LF character? Automatically Convert Text to Table with unique character as deliminator ghost5 Word VBA 6 06-13-2019 09:44 AM
Automatically applying character style while using fast style feature Didier Super Word 1 04-10-2017 05:10 AM
How to prevent Word from automatically selecting the CR/LF character? Automatically Selecting a Data Source Nathan_Newlin Mail Merge 1 12-06-2011 03:42 PM
How to prevent Word from automatically selecting the CR/LF character? How do I prevent Outlook from automatically selecting the first message in a mailbox rvnash Outlook 2 09-20-2011 10:43 AM
automatically extract footnotes into new file and apply character format to footnote hrdwa Word 0 02-27-2010 03:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:00 AM.


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