XL98: Entire Text File Appears in One Merged Cell

Last reviewed: February 2, 1998
Article ID: Q179032
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

If you create a text file that contains at least two Hypertext Markup Language (HTML) tags and you then open that file in Microsoft Excel, the entire text file may appear in a single merged cell (for example, A1).

Also, depending on the quantity and type of HTML tags in the text file, Microsoft Excel may unexpectedly quit. When this behavior occurs, the following error message may appear:

   The Application "Microsoft Excel" has unexpectedly quit, because an
   error of type 2 occurred.
   You should save your work in other open applications and restart the
   computer.

CAUSE

This problem may occur if the text file contains a large number of HTML tags but no table tags. For example, the problem may occur if the file does not contain the following table tags:

   <Table>
   <TR>
   <TD>

These tags force Microsoft Excel to parse the data into separate rows or columns.

NOTE: This problem may also occur if the only tags that are in the text document are the <HTML> </HTML> tags.

WORKAROUND

To resolve this problem, do the following:

  • Reduce the number of HTML tags in the text document.

    -or-

  • Use table tags so the data is not imported into a single cell.

    -or-

  • Reduce the amount of text in the text document.

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.


Additional query words: XL98
Keywords : xlweb kberrmsg
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


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