![]() |
|
|
|
#1
|
|||
|
|||
|
Thank you for the help, Paul. Of course that I tried your macro on my document (as it is) but I didn't obtain the desired results because I need to eliminate the manual line break(s) and your macro don't do this. More, it transform my text in something unreadable. Do a try, please, and see what I speaking about. And, again, I am not able to tweak this because I have no idea (yet ) about VBA for word.About the last code you give me, I'll try to implement it. Where ? Hope I'll be able to understand. Thank you again. |
|
#2
|
||||
|
||||
|
Quote:
Code:
'Replace manual line breaks with paragraph breaks
.Text = "[^]{1,}"
.Replacement.Text = "^p"
.Execute Replace:=wdReplaceAll
Code:
'Replace single paragraph breaks with a space Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|