XL: Time Formats Revert to Text When Saved as .DIFLast reviewed: September 12, 1996Article ID: Q109139 |
The information in this article applies to:
SUMMARYIn Microsoft Excel, when you save a file in the .DIF format, time values that were entered with a number format containing AM/PM, are converted to text. In addition, time entered with this format loses the space between the time value and AM/PM suffix. The affected time formats include hh:mm:ss AM/PM and hh:mm AM/PM.
WORKAROUNDTo work around this problem, convert all time formats to a time format without an AM/PM identifier or use a 24-hour time format. If you have already saved the file in .DIF file format, use the following formula to correct the problem:
=VALUE(LEFT(cell_ref,LEN(cell_ref)-2))After you enter the formula, select it and choose Copy from the Edit menu. Then choose Paste Special Value. You are now able to reformat the number to a time format.
MORE INFORMATION
Steps to Reproduce Problem
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |