Word Remove Nonprintable characters

M

metflunky

I have characters that look like little boxes in my text in Word. The text is
being brought in from a mainframe download. I want to get rid of these
characters but I can't seem to figure out how.
 
J

Jezebel

Work out what character(s) they represent. Select one, then switch to VBA
and in the immediate window use: ? Asc(Selection). That tells you the code
of the first character in the selection. Then use Find and Replace to delete
that character: Search for ^nnn (where nnn is the character number); replace
with nothing.
 

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