CoxConsult
Programmer
Greetings,
I am copying and pasting text from a PDF into word. Word does not recognize the sentence structure in the PDF and pastes each line from the PDF as its own paragraph of text in the word document. Currently, I need to manually navigate to the end of the line delete the paragraph marker to join the parts of the text that belong together in a sentence.
For example, the pasted text of a short poem would contain two 'paragraphs' of text:
The cat fell (this is paragraph 1)
into the pot. (this is paragraph 2)
I would like to be able to select both paragraphs, run the macro and end up with the following in a single paragraph.
"The cat fell into the pot."
I am not new to VBA, but very new to using it with Word.
Has anyone seen this done before?
Thanks!
I am copying and pasting text from a PDF into word. Word does not recognize the sentence structure in the PDF and pastes each line from the PDF as its own paragraph of text in the word document. Currently, I need to manually navigate to the end of the line delete the paragraph marker to join the parts of the text that belong together in a sentence.
For example, the pasted text of a short poem would contain two 'paragraphs' of text:
The cat fell (this is paragraph 1)
into the pot. (this is paragraph 2)
I would like to be able to select both paragraphs, run the macro and end up with the following in a single paragraph.
"The cat fell into the pot."
I am not new to VBA, but very new to using it with Word.
Has anyone seen this done before?
Thanks!