Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-14-2011, 10:07 PM
macropod's Avatar
macropod macropod is offline Get rid of leading spaces before paragraphs Windows 7 32bit Get rid of leading spaces before paragraphs Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Fig,

Try a wildcard Find/Replace, where:
Find =^13[ ]{1,}
Replace = ^p

An alternative is:
Find = [ ]{1,}([!^13]@^13)
Replace = \1

The first one replaces the spaces following a paragraph break - which is effectively the same as replacing spaces before a paragraph's text - except for the first paragraph in a Section or table cell. The second one replaces the spaces at the start of a paragraph, except for the last paragraph in a table cell. There is no Find/Replace formulation that will locate solitary 'paragraphs' within a table cell.

Your publisher probably also won't want multiple paragraph breaks (ie lines created by hitting the Enter key) between your 'real' paragraphs. You can clean those out with another wildcard Find/Replace, where:
Find = [^13]{1,}
Replace = ^p

Likewise, multiple spaces after periods, etc, for which you can use yet another wildcard Find/Replace, where:
Find = ( )[ ]{1,}
Replace = \1

Note: The correct way to apply the indented formatting you obtained via the spacebar is via first line indenting for the paragraph (eg Format|Paragraph), preferably by defining an appropriate paragraph Style and applying that to the paragraphs of interest. This is most likely what your publisher will do - along with specifying an appropriate before/after space setting for each paragraph.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get rid of leading spaces before paragraphs HELP - problem with disappearing spaces klanch Word 3 02-11-2011 10:32 AM
changing font size without changing leading carolns Word 1 09-14-2009 12:30 PM
Get rid of leading spaces before paragraphs Eliminate blanc spaces at the beginnig row Il_Fabietto Word VBA 9 06-26-2009 05:04 AM
Spaces After Each Word jnutella Word 0 03-04-2009 02:00 PM
Word to Excel hyperlinks and spaces gak Word 1 09-14-2008 08:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:09 PM.


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