In Microsoft Excel, if you copy a date, and then close the workbook that
contains the copied date, the date in the Clipboard is converted into a
text string that appears in the same form as the formatted date.
When you paste the text string into another workbook, Microsoft Excel
determines that the text string resembles a date and converts it into a
date. If the copied date was formatted to show only two year digits,
Microsoft Excel behaves as though you entered a date with only two year
digits.
Example
To see an example of this behavior, follow these steps:
- In a new workbook, enter the following date into cell A1:
1/1/1920
If the date displays a four digit year, choose a number format that displays only two digit years, such as 3/14/98. Note that although the formula bar contains 1/1/1920, the cell displays 1/1/20.
- Select cell A1. On the Edit menu, click Copy.
The Clipboard contains the date 1/1/1920 and the cell formatting.
- On the File menu, click Close. Click No when you are prompted to save changes to the file.
Because you closed the workbook, the Clipboard contains a text string
that is the same as the date that appeared in the cell:
1/1/20
- Create a new workbook. Select cell A1, and click Paste on the Edit menu.
The text string is pasted into the cell and converted into a date. Note
that the date in the cell appears as 1/1/20. However, the date in the
formula bar is 1/1/2020.