Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Office > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-04-2009, 01:40 PM
geobruin geobruin is offline Windows XP Office 2003 (Version 11.0)
Novice
 
Join Date: Jun 2009
Posts: 1
geobruin is on a distinguished road
Default Macro to eliminate paragraphs

Hi! I am looking for a macro that will eliminate paragraph designations from some text. For example:

Buddy you're a boy make a big noise
Playing in the street gonna be a big man some day
You got mud on yo' face, you big disgrace
Kicking your can all over the place

Singing
We will we will rock you
We will we will rock you

Would appear after the script was run as:

Buddy you're a boy make a big noise Playing in the street gonna be a big man some day You got mud on yo' face, you big disgrace Kicking your can all over the place Singing We will we will rock you We will we will rock you

Thanks for the insight!

Cheers!
Reply With Quote
  #2  
Old 06-12-2009, 09:55 AM
Bird_FAT's Avatar
Bird_FAT Bird_FAT is offline Windows 7 Office 2007 (Version 12.0)
Super Moderator
 
Join Date: Apr 2009
Location: South East
Posts: 281
Bird_FAT is on a distinguished road
Default

Try using Find and Replace:

1)
Find ^p^p - this is the symbol for a paragraph marker (^p)
Replace **

Replace all

2)
Find ^p
Replace [SPACE]

Replace all

3)
Find **
Replace ^p^p

Replace all


If you record the steps by going to Tools > Macro > New, then you will have created your own Macro!
__________________

Bird

If my post has helped, please add to my reputation in return - Thanks!

Windows XP > Office 2003
Windows 7 > Office 2007

MASTER+

Reply With Quote
Reply

Bookmarks

Tags
macro, paragraph, script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to run the specified macro jtrirogoff Word 0 02-05-2009 06:38 PM
How to eliminate Header on Contents Page George99 Word 1 12-06-2008 11:59 AM
Macro Issue Basanth Excel 1 12-05-2008 10:07 PM
Can I change the default way paragraphs are numbered? Word 2003. cheesysocks Word 1 10-06-2008 09:05 AM
Macro Writing cweachter Excel 0 08-09-2008 11:30 PM


All times are GMT -4. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.