ID: Q110791
The information in this article applies to:
When you mark an index entry in Word 6.0 for Windows, Word turns on the display of nonprinting characters. This happens whether you mark the entry with the menu options or use the shortcut key ALT+SHIFT+X. This behavior differs from that of Word 2.0, which did not turn on the display of nonprinting characters.
Nonprinting characters are turned on so that you can see the new index entry, which is formatted as hidden text. If hidden text were not turned on, you would not be able to determine that the entry had been successfully marked.
Add two lines to the MarkIndexEntry command. Use the steps below to modify the command instructions.
NOTE: If nonprinting characters are currently displayed, running the modified MarkIndexEntry command will turn off their display.
1. From the Tools menu, choose Macro.
2. In the Macro Name box, type "MarkIndexEntry" (without the quotation
marks).
3. Choose Create. You should now have the MarkIndexEntry command macro in
the macro editing window.
4. Change the macro from
Sub MAIN
Dim dlg As MarkIndexEntry
GetCurValues dlg
Dialog dlg
MarkIndexEntry dlg
End Sub
to:
Sub MAIN
ScreenUpdating 0 ' new line
Dim dlg As MarkIndexEntry
GetCurValues dlg
n = Dialog dlg ' changed line
If n = -1 then MarkIndexEntry dlg ' changed line
ShowAll(0) ' new line
End Sub
5. From the File menu, choose Close.
6. When asked if you want to keep the changes to the macro, choose Yes.
KBCategory: kbusage kbmacro KBSubcategory: kbfield Additional query words: 6.0 winword word6 6.0a 6.0c 7.0 word95 word7
Keywords : kbfield
Version : 6.0 6.0a 6.0c 7.0
Platform : WINDOWS
Last Reviewed: February 6, 1998