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

ID: Q236540


The information in this article applies to:
  • Microsoft Office 2000 Developer
  • Microsoft Access 2000

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.


MORE INFORMATION

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 : kbdta modCodeLib
Version : :; WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.