I am in Word and have a lot of text pulled from a PDF that has inserted breaks in to lines. For example it may go
"The quick brown fox jumps
over the lazy dog."
...and what I'd want, obviously, is that sentence all on one line
e.g. "The quick brown fox jumps over the lazy dog."
Essentially, every time there is a paragraph break (I believe they are Char(10) or vbLf) followed by a lowercase letter, I want to change that paragraph character to a simple space.
I am completely new to visual basic. I have some Frankenstein-monster-esque chunks of code that I've pulled from various places on the internet, but I'm afraid that sharing it would probably limit people's recommendations on how to do what at least appears to be a fairly simple thing by making them try to use or fix the structure of what I've got, when I'm not the least bit attached to it anyway.
Can someone please point me in the right direction here?
Much obliged
"The quick brown fox jumps
over the lazy dog."
...and what I'd want, obviously, is that sentence all on one line
e.g. "The quick brown fox jumps over the lazy dog."
Essentially, every time there is a paragraph break (I believe they are Char(10) or vbLf) followed by a lowercase letter, I want to change that paragraph character to a simple space.
I am completely new to visual basic. I have some Frankenstein-monster-esque chunks of code that I've pulled from various places on the internet, but I'm afraid that sharing it would probably limit people's recommendations on how to do what at least appears to be a fairly simple thing by making them try to use or fix the structure of what I've got, when I'm not the least bit attached to it anyway.
Can someone please point me in the right direction here?
Much obliged
Comment