Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2014, 03:00 AM
sma sma is offline Add a statement Windows Vista Add a statement Office 2007
Novice
Add a statement
 
Join Date: Mar 2014
Posts: 4
sma is on a distinguished road
Default Add a statement


greeting,

i have a 50 page formatted word document with many paragraphs under different titles and subtitles sections and i want to add statement at the end of each paragraph, excluding the header and the footer, such as "thanks for your input".

any suggestions.

TIA
Reply With Quote
  #2  
Old 03-22-2014, 04:36 AM
macropod's Avatar
macropod macropod is offline Add a statement Windows 7 32bit Add a statement Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

You could do that via Find/Replace, where:
Find = ^p
Replace = ^lthanks for your input^p
The ^l inserts a line break in the paragraph; you could omit it if you prefer or even supplement it with a tab (i.e. ^l^t).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-22-2014, 06:20 AM
sma sma is offline Add a statement Windows Vista Add a statement Office 2007
Novice
Add a statement
 
Join Date: Mar 2014
Posts: 4
sma is on a distinguished road
Default

thanks Paul for the help, and excuse my ignorance, i presume that i have to add ^p to all paragraphs,how can i limit only adding ^p at the bottom of all the document paragraphs[/B], how can this be done in one shoot without including the titles and subtitles,footer, header....
Reply With Quote
  #4  
Old 03-22-2014, 08:03 AM
Charles Kenyon Charles Kenyon is offline Add a statement Windows 7 64bit Add a statement Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

^p is a paragraph mark - the end of a paragraph. ^l is a manual line break, ^t is a character inserted by the tab key.

You should not have to add anything. The replace that Paul gave you will not replace in headers or footers.

As for excluding headings, titles, subtitles... You didn't ask to do that originally.

I assume (hope) that your body text is all in one style and your headings, titles, subtitles are formatted using different (preferably heading) styles.

When you do the replace, make sure that the formatting for the find text is specified to be in the style used for your body text. You will find the Formatting choices by clicking on the More button in the Replace dialog.

If you didn't use Styles for your formatting, now might be a good time to learn to use them. You can also specify direct formatting but that is a lot more work!
Reply With Quote
  #5  
Old 03-22-2014, 10:49 AM
sma sma is offline Add a statement Windows Vista Add a statement Office 2007
Novice
Add a statement
 
Join Date: Mar 2014
Posts: 4
sma is on a distinguished road
Default

thanks Charles Kenyon for your input, apparently it is time consuming work, as i have to search for each paragraph and do the replace.
Reply With Quote
  #6  
Old 03-22-2014, 01:51 PM
macropod's Avatar
macropod macropod is offline Add a statement Windows 7 32bit Add a statement Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Quote:
Originally Posted by sma View Post
apparently it is time consuming work, as i have to search for each paragraph and do the replace.
You shouldn't need to process each paragraph individually. 'Replace All' will do the lot in one go - and it won't touch anything in headers or footers.

However, as Charles noted, your first post didn't mention the titles and subtitles. In that case, if your paragraphs are formatted using different paragraph Styles from your titles and subtitles, you have two options:
1. Specify only the paragraph Styles you want to update, via the Format|Style options in the Find/Replace dialogues; or
2. Update everything, then delete the changes to the titles and subtitles, using:
Find = ^lthanks for your input^p
Replace = ^p,
again specifying the paragraph Styles for the titles and subtitles, via the Format|Style options in the Find/Replace dialogues.

If you have more paragraph Styles for the body content than for the titles and subtitles, you might find the second option quicker.

If you haven't used different paragraph Styles for the titles and subtitles from what you've used for the rest of the content, now is the time to do so - then do the Find/Replace as outlined above. At most, you'll need to do three Find/Replace operations.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 03-23-2014, 10:30 AM
sma sma is offline Add a statement Windows Vista Add a statement Office 2007
Novice
Add a statement
 
Join Date: Mar 2014
Posts: 4
sma is on a distinguished road
Default

Thanks Paul for the additions.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a statement Need help with If, Then Statement Please cangelis Excel 4 01-03-2014 09:10 AM
Using if statement many times! Jamal NUMAN Excel 6 01-19-2012 12:05 PM
Add a statement Help with IF Statement limpbizkit Excel 4 02-24-2011 09:16 PM
Add a statement if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
Add a statement Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:42 PM.


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