Microsoft KB Archive/895409

= When you try to move text or to extend a selection by using function keys, the functions do not work in Word 2003 =

Article ID: 895409

Article Last Modified on 10/8/2007

-

APPLIES TO


 * Microsoft Office Word 2003

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to move text or to extend a selection in Microsoft Office Word 2003 by using function keys, the following problems may occur:
 * Text does not move to the location of the insertion point after you press F2 (Move Text). For example, text does not move to the location of the insertion point after you follow these steps:
 * Select the text that you want to move.
 * Press F2 (Move text).
 * Move the insertion point to where you want to move the text, and then press ENTER.
 * The text selection is not extended after you press F8 (Extend Selection).



CAUSE
These problems may occur when one of the following conditions is true:
 * You run a Visual Basic for Applications (VBA) macro that installs an event handler for the WindowSelectionChange event of the Application object before you move text or extend a selection.
 * You run a Visual Basic for Applications (VBA) macro that installs an event handler for the XMLSelectionChange event of the Application object before you move text or extend a selection.
 * You run any Visual Basic for Applications (VBA) macro during an operation where you move text or extend a selection.



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Office 2003 service pack, you do not have to install the hotfix.

Service pack information
This problem is corrected in Office 2003 Service Pack 2.

To resolve this problem, obtain the latest service pack for Office 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

870924 How to obtain the latest service pack for Office 2003

After you install the service pack, follow the steps that are listed in the &quot;More Information&quot; section to set the KeepUISpecModeAtVbaEnd registry key and to enable the hotfix.

How to obtain the hotfix
This issue is fixed in the Word 2003 post-Service Pack 1 Hotfix Package that is dated march 28, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

896271 Description of the Word 2003 post-Service Pack 1 hotfix package: March 28, 2005

After you install this hotfix, follow the steps that are listed in the &quot;More Information&quot; section to set the KeepUISpecModeAtVbaEnd registry key and to enable the hotfix.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Office 2003 Service Pack 2.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable the hotfix, follow these steps:  Quit Word 2003. Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click to select the following registry subkey:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options

 After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click DWORD Value. Type KeepUISpecModeAtVbaEnd, and then press ENTER.</li> Right-click KeepUISpecModeAtVbaEnd, and then click Modify.</li> In the Value data box, type 1, and then click OK.</li> On the File menu, click Exit to quit Registry Editor.</li></ol>

Additional query words: word2003 wd2003 wd2k3

Keywords: kbbug kbfix kbqfe kbformat kbprogramming kbautomation kbvba kboffice2003presp2fix kboffice2003sp2fix kbhotfixserver KB895409

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.