Delete redundant spaces in text boxes

A

andreas

Dear Experts:

I got a document with hundreds of text boxes. I would like to delete
all redundant spaces in these text boxes using either VBA or the built-
in 'Search and Replace'-Functionality.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
 
S

Stefan Blom

Are you referring to space characters or to paragraph spacing?

Stefan Blom
Microsoft Word MVP
 
A

andreas

Are you referring to space characters or to paragraph spacing?

Stefan Blom
Microsoft Word MVP






- Zitierten Text anzeigen -

Hi Stefan,

I am referring to space characters.

Thank you and regards,

Andreas
 
S

Stefan Blom

Andreas,

A simple but possibly time-consuming solution is to search for two
spaces and replace with one; repeat the find & replace operation as needed.

I'm sure someone could come up with a more sophisticated way to do this
using a wildcard search or a macro.

Stefan Blom
Microsoft Word MVP
 
A

andreas

Andreas,

A simple but possibly time-consuming solution is to search for two
spaces and replace with one; repeat the find & replace operation as needed.

I'm sure someone could come up with a more sophisticated way to do this
using a wildcard search or a macro.

Stefan Blom
Microsoft Word MVP







- Zitierten Text anzeigen -

Hi Stefan,

thank you very much for your feedback and professional help. In the
meantime I found some other solution.

Thank you again. Regards, Andreas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top