Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 07-12-2011, 06:34 AM
macropod's Avatar
macropod macropod is online now How to combine many paragraphs in one paragraph? Windows 7 64bit How to combine many paragraphs in one paragraph? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,527
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 Jamal,

I really don't recommend doing that - it will cause the macro to delete punctation marks in text you're trying to clean up when it's been copied from pdfs, emails, web pages, etc when the punctuation should remain. Still, if that's what you want to do, insert the lines:
Code:
  .Text = "[,.;:‘’'“”""/\!\*\?\\]"
  .Replacement.Text = ""
  .Execute Replace:=wdReplaceAll
after the line:
.MatchWildcards = True
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to combine many paragraphs in one paragraph? Track chages combine: Stumped! Ulodesk Word 2 01-03-2011 11:43 AM
How to combine many paragraphs in one paragraph? Combine two forms into one lwisniewski Word VBA 3 12-24-2010 03:45 PM
How to combine many paragraphs in one paragraph? Combine pst files? markg2 Outlook 2 04-26-2010 03:09 PM
How do you combine two contact folders? waikoloavrm Outlook 0 04-12-2010 02:31 PM
Bulletizing one paragraph affects all paragraphs GoodWebby Word 0 10-10-2009 12:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:36 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