XL98: "am/pm" Changed to "AM/PM" in Custom Number Format

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

SYMPTOMS

If you open a workbook created in an earlier version of Microsoft Excel, and the workbook contains time data, the formatting for time data in cells or in charts may be changed from "am/pm" to "AM/PM." For example, if you create the time "1:00 am" (without the quotation marks) in cell A1 and you open the workbook in Microsoft Excel 98, cell A1 displays "1:00 AM" (without the quotation marks).

CAUSE

Microsoft Excel 98 does not support custom number formats in which "AM/PM" is lowercase. For example, the following format is not supported:

   h:mm am/pm

WORKAROUND

To display "am/pm" in lowercase, change the number formatting to a format similar to the following

   h:mm a/p"m"

including the quotation marks. To do this, follow these steps:

  1. Click Cells on the Format menu.

  2. Click the Number tab.

  3. In the Category list, click Custom. In the Type box, type the following

          h:mm a/p"m"
    

    and then click OK.

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 custom number formats, click Contents and Index on the Help menu, click the Index tab in MS Excel Help, type the following text

   number formats, custom

and then double-click the selected text to go to the "Custom number, date, and time format codes" topic.


Additional query words: upper lowercase uppercase revert XL98
Keywords : xlformat
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.