Microsoft KB Archive/236540

= MOD2000: Cannot Use the TAB Key When You Edit Code in the Code Librarian =

Article ID: 236540

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition
 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q236540



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you press the TAB key from within a function in the Code Librarian, the focus moves to the OK button instead of indenting the line of code as you might expect.



RESOLUTION
To resolve this issue, use the SPACEBAR to indent lines of code.



Steps to Reproduce Behavior

 * 1) In any Microsoft Office 2000 program, press ALT+F11 to switch to the Visual Basic Editor.
 * 2) On the Add-ins menu, if you see Code Librarian, skip to step 5.
 * 3) On the Add-ins menu, click Add-in Manager.
 * 4) Click Code Librarian, and then under Load Behavior, click to select the Loaded/Unloaded check box. Click OK.
 * 5) On the Add-ins menu, click Code Librarian.
 * 6) In the Code Librarian, click Open on the File menu.
 * 7) Open the Codelib.mdb file.
 * 8) Click the Access category.
 * 9) Double-click any function in the list on the right side of the window.
 * 10) Move to the area where the code begins, and then press the TAB key.

Note that instead of the line of code being indented, the focus moves to the OK button.

Additional query words: prb

Keywords: kbcodelibrarian kbprb KB236540

-

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

© Microsoft Corporation. All rights reserved.