XL97: Insert and Delete Methods of Characters Class May Fail

Last reviewed: March 13, 1998
Article ID: Q158659
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

When you use the Insert method of the Characters class to insert more than 255 characters, the following symptoms may occur:

  • You receive the following error message:

          Run-time error '1004':
          Insert method of Characters class failed
    

    -or-

  • The Insert method fails to insert more than 255 characters.

NOTE: When you use the Delete method to delete more than 255 characters, similar symptoms occur.

CAUSE

The number of characters that you can insert or delete using the Insert or Delete methods of the Character class is limited to 255.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For more information about using the Insert method, start the Visual Basic Editor, click Office Assistant, type "Insert", click Search, and then click "Insert Method".


Additional query words: XL97 vbe
Keywords : kberrmsg kbprg xlvbainfo
Version : WINDOWS:97
Platform : WINDOWS


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: March 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.