erik.van.geit
MrExcel MVP
- Joined
- Feb 1, 2003
- Messages
- 17,832
Hi, guys & galls,
Trying to master Word now
Say you have a text with empty lines. How can you format (using VBA if necessary) every line after the empty ones?
START WITH
Some Text
Other Text can be any length.
More .......................
Starting new line after an empty. More text.
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text
Text More More More More More More
More More More
TO GET
Some Text
Other Text can be any length.
More .......................
Starting new line after an empty. More text.
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text
Text More More More More More More
More More More
I searched trough characters, paragraphs, line (textstream??) ...
Can somebody point me to a useful link, or provide a codesample which would put me on the way?
Thanks for reading,
Erik
Trying to master Word now
Say you have a text with empty lines. How can you format (using VBA if necessary) every line after the empty ones?
START WITH
Some Text
Other Text can be any length.
More .......................
Starting new line after an empty. More text.
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text
Text More More More More More More
More More More
TO GET
Some Text
Other Text can be any length.
More .......................
Starting new line after an empty. More text.
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text Text Text
Text More More More More More More
More More More
I searched trough characters, paragraphs, line (textstream??) ...
Can somebody point me to a useful link, or provide a codesample which would put me on the way?
Thanks for reading,
Erik