Microsoft KB Archive/88775

{|
 * width="100%"|

WD: Extend Mode (EXT) Is Unexpectedly Deactivated

 * }

Q88775

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
 * Microsoft Word for Windows NT, version 6.0
 * Microsoft Word for Windows, versions 7.0, 7.0a
 * Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a

-

SYMPTOMS
After you activate the extend mode feature in Microsoft Word by pressing F8, extend mode may become deactivated if you do any of the following:


 * You switch to a different document window. (Extend mode is no longer active when you return to the original document window.)
 * You run the WordBasic SelInfo(20) command in a macro.
 * You click to select any menu option and then click OK or Cancel.

CAUSE
This behavior is by design in Word. Word changes the status of the Extend command when a new command is chosen.

MORE INFORMATION
When you activate the extend mode feature by pressing F8, the Word status bar displays &quot;EXT.&quot; While extend mode is active, Word for Windows selects text when you press directional keys.

ExtendMode and SelInfo(20) are WordBasic commands that return the status of the extend mode feature. In the following syntax examples, &quot;x&quot; equals 0 (zero) if extend mode is inactive, and &quot;x&quot; equals a non-zero number if extend mode is active:

  x = ExtendMode x = SelInfo(20) However, if you run these commands in a macro, Word always deactivates extend mode and sets the value of &quot;x&quot; to 0 (zero).

NOTE: Both commands operate correctly, returning the actual status of the extend mode feature if you run the commands by choosing the Step button in the macro-editing window.