code for odd character

K

Keith G Hicks

I have an odd character that shows up in docs that are from an export from
another program. I need to replace it with nothing but I don't know the
ascii code for the character and cant' find it in any tables. Is there
something in word that will let me highlight a character and then return
it's code? The character is a little arrow that points to the right. (not
this: >). It's not a keyboard character and I can't copy and paste it itno
my vba code.
 
K

Keith G Hicks

I think you're right about it being a printing character. ALT+X does nothing
there but I figured out it's code is 26. And thanks for the tip. I never
knew abotu the ALT+X trick. COol.
 
S

Suzanne S. Barnhill

Unicode character 0026 is an ampersand, but ASCII 26 is the SUB or
substitute character, which, according to Wikipedia, is "a control character
that is used in the place of a character that is recognized to be invalid or
in error or that cannot be represented on a given device." (For more, see
http://en.wikipedia.org/wiki/Substitute_character).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
K

Keith G Hicks

That makes sense. The text for the docs I'm working on are being generated
by an old DOS program.
 

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