Thread: [Solved] reassemble fractured text
View Single Post
 
Old 06-07-2019, 02:09 PM
Chayes Chayes is offline Windows 7 32bit Office 2003
Advanced Beginner
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default reassemble fractured text

I've been trying to reassemble as best I can some text passages which have been broken in email transport. I'd like to run a vba code to do this , based on how many words appear in each line. So for example , if the line has just three words , it would bring up the line below until a certain number of words was present in each line.


As an example ;


-------------------------------------------------------------
"Your Privacy
and Data

We only collect
data from
you sufficient to
process and deliver
your order.
We don’t use
your data for any
other purpose
than this. "


-------------------------------------------------------------
Would become :


-------------------------------------------------------------
"Your Privacy and Data

We only collect data from you sufficient to process and deliver your order. We don’t use your data for any other purpose than this."



-------------------------------------------------------------


I do appreciate this would be an imperfect process with certain imponderables , but would like to get close to the original as possible.


I'd be grateful for any assistance.



Reply With Quote