Solved

Date Format in old XLW Files gets corrupted

Posted on 2012-04-08
3
534 Views
Last Modified: 2012-04-09
I am helping somebody after a computer upgrade. This means I don't know much about the history of these files. Here is what I know: Importing old XLW files results in
- a warning message when opening it in Office 2010 ("The file you are trying to open, 'test.sheet.xlw', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now? Yes|No|Help"). After clicking "Yes", the file does open without any further warning or error.
- Date fields in the file are not shown correctly. The attached sample shows e.g. "0-Jan-00", and when I highlight the cell, I see "=11/21/2011" as the data entered, but I cannot remove the "=" to make it a valid date.
- When I try to enter a new date (e.g. 1/1/2012), a '=' is prepended to my date again, and the cell displays again a corrupt date.
- When I open the file in Office 2011 on a Mac or LibreOffice, I can remove the leading '=' and the date gets displayed correctly.

Is there a way to correctly open those files? Is there a method to convert them to current version files? Are there potentially more problems than just the dates to expect?

I am attaching a file that had all it's data removed with the exception of three date fields to show the problem. For EE to accept the file, I had to add a ".xls" to the filename. To work with the original file, remove the .xls extension, so that the filename is test-sheet.xlw again. From what I can tell, it does not seem to make a difference in the behavior - besides the warning message is gone.

Thanks.
test-sheet.xlw.xls
0
Comment
Question by:Karl Heinz Kremer
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
redmondb earned 500 total points
ID: 37821467
Hi, khkremer.

(1) The file is an XLS not an XLW. At some point, someone renamed it to XLW but that doesn't change its underlying reality.

(2) "Lotus compatibility settings" were turned on for this sheet (see the bottom of "Advanced" in the "Excel Options" dialog). I've turned them off in the attached and successfully re-typed the dates.

Regards,
Brian.test-sheet-V2.xls
0
 
LVL 44

Author Closing Comment

by:Karl Heinz Kremer
ID: 37823104
I don't think I've ever seen these options :) It is possible that these files were originally created in Lotus.

Thanks for your help.
0
 
LVL 26

Expert Comment

by:redmondb
ID: 37823317
Thanks, khkremer. (First time I'd ever seen them set, too.)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question