N
ndyguy
Background:
I have a development machine using Office 2007. I'm trying to update a
program that previously worked with Excel 2003 to also work with Excel 2007
(we haven't switched to 2007 yet). In order to get my 2007 machine to
compile the old program, I had to compile it on another development machine
with 2003, copy local the 2003 PIA's, and reference the local copies. In
that way it still works with Office 2003, but on a machine with 2007 PIA's it
redirects to 2007.
Here's my problem:
The program seems to work fine (opening, saving, closing, etc.). Excel
2007's settings are set to save files as 2003 xls. However, reopening the
file with Excel 2007 gives an error window saying "The file you are trying to
open, 'file.xls', is in a different format than specified by the file
extension" and if opened with 2003 it says "the file is not a recognizable
format." If in 2007 the file is saved, the error returns. If the file is
'save as' to xls or if the file extension is manually changed to xlsx the
error disappears. So it looks like Excel 2007 is saving the file as an xlsx
with a xls extension. Any ideas why this is happening?
I have a development machine using Office 2007. I'm trying to update a
program that previously worked with Excel 2003 to also work with Excel 2007
(we haven't switched to 2007 yet). In order to get my 2007 machine to
compile the old program, I had to compile it on another development machine
with 2003, copy local the 2003 PIA's, and reference the local copies. In
that way it still works with Office 2003, but on a machine with 2007 PIA's it
redirects to 2007.
Here's my problem:
The program seems to work fine (opening, saving, closing, etc.). Excel
2007's settings are set to save files as 2003 xls. However, reopening the
file with Excel 2007 gives an error window saying "The file you are trying to
open, 'file.xls', is in a different format than specified by the file
extension" and if opened with 2003 it says "the file is not a recognizable
format." If in 2007 the file is saved, the error returns. If the file is
'save as' to xls or if the file extension is manually changed to xlsx the
error disappears. So it looks like Excel 2007 is saving the file as an xlsx
with a xls extension. Any ideas why this is happening?