Ingenuity
Structural
- May 17, 2001
- 2,374
I have the titles of papers/books/references in my digital library that I need to amend into a simple filename-type format in UPPERCASE but without the linebreaks and extra spaces, using WORD, for example:
"Repairing unbonded {linebreak}
post-tensioned {extra space} concrete"
Becomes:
"REPAIRING UNBONDED POST-TENSIONED CONCRETE"
I can amend the text to UPPERCASE simply enough using a WORD command, but is there any way to automate the deletion of linebreaks and extras spaces between words, via a WORD function or some simple VBA code?
I have to repeat this task many, many times.
Thank you.
"Repairing unbonded {linebreak}
post-tensioned {extra space} concrete"
Becomes:
"REPAIRING UNBONDED POST-TENSIONED CONCRETE"
I can amend the text to UPPERCASE simply enough using a WORD command, but is there any way to automate the deletion of linebreaks and extras spaces between words, via a WORD function or some simple VBA code?
I have to repeat this task many, many times.
Thank you.