Thread: [Solved] Just MS Word
View Single Post
 
Old 01-10-2014, 04:51 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,370
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 Mihail View Post
I need to eliminate the manual line break(s) and your macro don't do this.
That's easily remedied by inserting:
Code:
  'Replace manual line breaks with paragraph breaks
  .Text = "[^]{1,}"
  .Replacement.Text = "^p"
  .Execute Replace:=wdReplaceAll
before:
Code:
  'Replace single paragraph breaks with a space
Quote:
More, it transform my text in something unreadable.
Did you read the caveat in the link about the basic format requirements of the text to be converted? Does your text conform?
Quote:
About the last code you give me, I'll try to implement it.
Where ? Hope I'll be able to understand.
Surely you can at least read your own code, even if you don't understand it...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote