Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-31-2021, 04:15 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Help with a logical code, end of paragraph lines Windows 10 Help with a logical code, end of paragraph lines Office 2019
Competent Performer
Help with a logical code, end of paragraph lines
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Default Help with a logical code, end of paragraph lines

Hello Pro's,


I'll try my darnest to explain what I need, since it's hard for me to explain without and image, and I don't know how to enclose an image without granting access to my PC. It's a corporate thing.

My issue:

Long paragraphs, that overflows to the next line due to margins, how do I do a Find and Replace with situations where the end of line has an open parentheses, such as:
Here below is 2 examples:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies (the
purus lectus) malesuada libero, sit amet commodo magna eros quis urna.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies (as
purus lectus) malesuada libero, sit amet commodo magna eros quis urna.
So I want to:
  1. Select an area, in a large document;
  2. do a Find and Replace,

If it sees at the end of all sentences, an open parenthese with a Word,
I want to add a non-breaking space = ^s so it will be glued to the following word so a sentence will NOT end with an open parentheses at the end of a line.

So in these above cases: (the^spurus lectus) or (as^spurus lectus).

Is that doable without touching all open braket with a word?

I've been searching. My logic is thinking go to end of sentence and find the sentences that ends with (the or (as.

Any insights would be sooooooooooooooo appreciated

Cendrinne
Reply With Quote
 

Tags
help end of sentence, long paragraphs

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a logical code, end of paragraph lines How to change the line spacing between just 2 lines within a paragraph Swarup Word 4 06-26-2019 02:32 PM
How to get rid of horizontal lines after each paragraph? Nisus Word 10 10-08-2018 01:15 PM
double spaced within paragraph 2 blank lines between paragraphs BigOldArt Word 1 08-24-2017 09:08 AM
Help with a logical code, end of paragraph lines Lines refuse to merge into one paragraph (Word 2010) Chris24 Word 2 01-22-2017 03:00 PM
Help with a logical code, end of paragraph lines Keep Paragraph Lines Together Issue SQLUSA Word 2 06-23-2012 05:00 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:20 AM.


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