Microsoft KB Archive/44919: Difference between revisions
(importing KB archive) |
m (X010 moved page Microsoft KB Archive/Q44919 to Microsoft KB Archive/44919 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/") |
(No difference)
|
Latest revision as of 19:23, 12 August 2020
Word: Testing for Overtype Status in a Macro
PSS ID Number: Q44919 Article last modified on 11-02-1994
4.00 5.00 5.50 6.00
MS-DOS
SUMMARY
The following is a workaround for the limitation of not being able to test for the status (on/off) of the Overtype feature (when it is on, OT will appear on the status line) from within a macro in Microsoft Word version 4.0, 5.0, or 5.5.
Include the following code in a Word version 4.0 or 5.0 macro:
<CTRL F5><CTRL F5>
Include the following code in a Word 5.5 macro:
<ALT U>L<ESC>
The first <CTRL F5> or <ALT U>L turns on the Line Draw feature and automatically sets the Overtype status to off regardless of its previous value. The second <CTRL F5> or the <ESC> turns off the Line Draw and leaves the Overtype in the off position. The current status of the Overtype toggle is off.
KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 4.00 5.00 5.50 ============================================================================= Copyright Microsoft Corporation 1994.