Getting Warning when I try to open ecxel in 2007.

V

Vidya

I am getting the below warning when I try to open the excel file in MS 2007.
The same file opens in 2003 without any warning.

""The file you are trying to open, 'servlet.xls', 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?"

Below is the content of my servlet.xls file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:x="urn:schemas-microsoft-com:eek:ffice:excel"
xmlns="http://www.w3.org/TR/REC-html40"
dir=LTR>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>servlet</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>User</o:Author>
<o:Company>Trial</o:Company>
<o:Created>2008-11-26 22-19-32</o:Created></o:DocumentProperties>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:DownloadComponents/>
<o:DoNotOrganizeInFolder/>
</o:OfficeDocumentSettings>
</xml><![endif]-->
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Sheet1</x:Name>
<x:WorksheetOptions>
<x:FitToPage/>
<x:protectContents>False</x:protectContents>
<x:protectContents>False</x:protectContents>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
<x:protectStructure>False</x:protectStructure>
<x:protectWindows>False</x:protectWindows>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
<body bgcolor="#ffffff">
<TABLE ><TR>
<TD ALIGN="left" DIR="LTR"><SPAN STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Arial;
COLOR: #000000; FONT-STYLE: italic; TEXT-DECORATION: underline; FONT-WEIGHT:
400">Arial Italic </SPAN></TD>
</TR>
</TABLE>
</body></html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top