XL97: Cannot Edit Text Box with Unlocked Text

Last reviewed: February 27, 1998
Article ID: Q158711
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you click a text box with unlocked text on a protected worksheet, you cannot select the text box in edit mode, and the Edit Text command is not available when you right-click the text box.

CAUSE

This behavior occurs when all of the following conditions are true:

  • You create a text box and assign a macro to it.

        -and-
    
  • You disable the Locked Text option for the text box by right-clicking the text box border, clicking Format Text Box, clicking the Protection tab, and clearing the option.

        -and-
    
  • You protect the worksheet.

When the worksheet is protected, if you assign a macro to a text box, you cannot edit the text in the text box. Instead, the macro runs when you click the text box.

RESOLUTION

To edit the text in the text box, first unprotect the worksheet, and then edit the text. To do this, follow these steps:

  1. On the Tools menu, point to Protection, and then click Unprotect Sheet.

  2. Type the password, if applicable, and click OK.

  3. Right-click the text box, and click Edit Text on the shortcut menu.

    The text box is selected in edit mode, and you can modify the text.

STATUS

This behavior is by design of Microsoft Excel 97.


Additional query words: XL97 8.0 8.00 textbox
Keywords : kbprg kbui xlvbainfo xlui xl97vbmigrate xldraw xlformat
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.