How do I find an emdash using wildcards?

G

Guest

I have documents that contain long dashes, but I'm having trouble identifying
a wildcard search that I can use in a macro to find and replace them. The
typical ^= and ^+ don't seem to find them, and I've also tried using a
variety of ANSI/ASCII character codes that don't seem to find them either.
When I attempt to cut and paste the dashes into my VB editor, they come out
as a question mark. Any ideas?
 
J

Jay Freedman

You should be able to use ^0150 and ^0151 for en and em dashes,
respectively.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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