ID: Q136396
The information in this article applies to:
When you try to perform a search or search-and-replace operation using a macro or using the character's ANSI character value, Word can't distinguish between the em dash and em space, or the en dash and en space.
The em dash and em space characters both appear to have the same ANSI character value (0151). Likewise, the en dash and en space characters both return the same ANSI character value (0150). This duplication prevents macros from searching or replacing for any of these characters.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Character Description
--------- -----------
Em dash A dash that is as wide as the height of the font.
En dash A dash that is half as wide as the height of the font.
Em space A space that is as wide as the height of the font.
En space A space that is half as wide as the height of the font.
You can search for the em and en characters by using a macro routine or
using the Word Find or Replace command. However, because both the em
characters have an ANSI value of 0151 and both the en characters have an
ANSI value of 0150, both characters (the dash and the space) will be found.
KBCategory: kbother buglist6.0 buglist6.0a buglist6.0c buglist7.0 KBSubcategory: Additional reference words: 6.0 6.0a 6.0c 7.0 word6 word95 word7 kbmacro ascii search replace edit find replace can't winword ASCII
Version : 6.0 6.0a 6.0c 7.0
Platform : WINDOWS
Last Reviewed: February 5, 1998