E
Edward Mendelson
I'll be very grateful for any help with this frustrating problem that
involves a special kind field in Word 2002 that is normally invisible - and
that can't be revealed by any combination of the F9 key. This problem does
not seem to occur with versions earlier or later than Word 2002 (XP)
When you import a WordPerfect 5.x file into Word 2002, and the original file
contains typographic symbols like curly quotation marks or dashes, Word 2002
does NOT convert the symbol into the equivalent native character in the
current font, but instead creates an invisible field that takes the place of
the original symbol. For the em-dash, for example, something that looks like
an em-dash appears on screen and on the page, but it's not the same as
Word's em-dash character; it's really a field, although nothing on screen
shows that it's a field.
So, if the original WP document contains an em-dash, you can't search and
replace the em-dash in Word by entering ^+ in the search field (by using
Find/More/Special), as you can to search for a real em-dash - and as far as
I can tell, you can't search for the WP-imported em-dash at all. And you
can't search for the invisible field by entering ^d either. If you copy the
imported em-dash from the text and paste it into the Find field, you get an
upper-case C, which doesn't help at all.
You can't reveal these fields by using any combination of the F9 keys, but I
found that you can see them by saving the file in WinWord 2.0 format and
reopening it in Word 2002. (CrossEyes from www.levitjames.com also displays
the fields.) At this point, you can see that (for example) a quotation mark
imported from WP is really a field that looks like this:
{symbol 65\f "WP Typographic Symbols"\s 12}
But you can't search for this field by using "^d symbol" in the Find dialog.
You CAN search them if you add a space after the opening brace and before
the closing brace, but I can't find a way to add those spaces automatically.
Question: is there a way to use VBA to find these fields and replace these
hidden fields with the native Windows characters? I'd like to have a macro
that will replace invisible fields containging quotation marks, section
marks, paragraph marks, em and en dashes when a WP file is opened in Word
2002. Fixing them by hand is a bit time-consuming!
Thanks for any help anyone can give.
Edward Mendelson
Contributing Editor
PC Magazine
involves a special kind field in Word 2002 that is normally invisible - and
that can't be revealed by any combination of the F9 key. This problem does
not seem to occur with versions earlier or later than Word 2002 (XP)
When you import a WordPerfect 5.x file into Word 2002, and the original file
contains typographic symbols like curly quotation marks or dashes, Word 2002
does NOT convert the symbol into the equivalent native character in the
current font, but instead creates an invisible field that takes the place of
the original symbol. For the em-dash, for example, something that looks like
an em-dash appears on screen and on the page, but it's not the same as
Word's em-dash character; it's really a field, although nothing on screen
shows that it's a field.
So, if the original WP document contains an em-dash, you can't search and
replace the em-dash in Word by entering ^+ in the search field (by using
Find/More/Special), as you can to search for a real em-dash - and as far as
I can tell, you can't search for the WP-imported em-dash at all. And you
can't search for the invisible field by entering ^d either. If you copy the
imported em-dash from the text and paste it into the Find field, you get an
upper-case C, which doesn't help at all.
You can't reveal these fields by using any combination of the F9 keys, but I
found that you can see them by saving the file in WinWord 2.0 format and
reopening it in Word 2002. (CrossEyes from www.levitjames.com also displays
the fields.) At this point, you can see that (for example) a quotation mark
imported from WP is really a field that looks like this:
{symbol 65\f "WP Typographic Symbols"\s 12}
But you can't search for this field by using "^d symbol" in the Find dialog.
You CAN search them if you add a space after the opening brace and before
the closing brace, but I can't find a way to add those spaces automatically.
Question: is there a way to use VBA to find these fields and replace these
hidden fields with the native Windows characters? I'd like to have a macro
that will replace invisible fields containging quotation marks, section
marks, paragraph marks, em and en dashes when a WP file is opened in Word
2002. Fixing them by hand is a bit time-consuming!
Thanks for any help anyone can give.
Edward Mendelson
Contributing Editor
PC Magazine