We have exported a Visual Foxpro .DBF file to an Excel .XLS file. Included in the fields are dates formatted as 01/01/07. When the new .XLS file is opened, all of the date fields are then listed as 01-Jan-07 with an error marker. I try to format within Excel so that it changes to 01/01/07 the way we want it, but it is not changed. The error reports that "This cell contains a date string represented with only a 2 digits for the year."
If I correct each cell's error, one by one, it will convert to the date format that we want. However, there are several hundred cells with the date field and changing them by hand is not really practical.
I've tried telling the Error Checking to ignore this particular error, but it still will not let me reformat the cells.
Does anyone know of a way to either completely ignore this so that I can have the date formatted correctly right off the bat, or a way to correct the error in bulk instead of each cell, one by one?
If I correct each cell's error, one by one, it will convert to the date format that we want. However, there are several hundred cells with the date field and changing them by hand is not really practical.
I've tried telling the Error Checking to ignore this particular error, but it still will not let me reformat the cells.
Does anyone know of a way to either completely ignore this so that I can have the date formatted correctly right off the bat, or a way to correct the error in bulk instead of each cell, one by one?