XL97: ;;; Number Format Fails to Hide Cell Contents

Last reviewed: January 15, 1998
Article ID: Q158879
The information in this article applies to:
  • Microsoft Excel 97 for Windows

SYMPTOMS

In Microsoft Excel 97, when you format a cell with the following number format:

   ;;;

the contents of the cell may still appear.

CAUSE

This problem occurs when the cell contains more than 1024 characters.

WORKAROUND

To hide the contents of a cell that contains more than 1024 characters, use the following steps:

  1. Select the cell that contains characters you want to hide.

  2. On the Format menu, click Conditional Formatting.

  3. In the Condition box, click Formula Is. Then, in the formula box, type "=ISERROR(VALUE(<address>))" (without the quotation marks) where <address> is the address of the active cell (for example, A1).

  4. Click Format. Click the Font tab. Then, in the Color list box, click white (or the color of the cell's background), and click OK.

  5. Click OK.

Note that you still must apply the ;;; number format to the cell; the conditional formatting only hides the cell contents when the contents exceeds 1024 characters in length.

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.

MORE INFORMATION

In Microsoft Excel, you can hide the contents of a cell by applying the ;;; number format to the cell. To do this in Microsoft Excel 97, use the following steps:

  1. Select the cell(s) you want to format.

  2. On the Format menu, click Cells. Then, click the Number tab.

  3. In the Category list, click Custom. Then, in the Type box, type ";;;" (without the quotation marks), and click OK.

When you format a cell with this number format, the characters in the cell are hidden, unless the contents exceed 1024 characters in length.


Additional query words: XL97 general
Keywords : xlformat
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


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