Code for non-breaking space

T

tedmi

What is the character code for a non-breaking space? I need to insert one in
the replace text of a macro, but ctrl-shift space does not work in the VB
editor.
Thanks.
 
G

Graham Mayor

^0160 will work in the replace text as a text string or CHR(160)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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