Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Getting Warning when I try to open excel in 2007.

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:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40"
dir=LTR
<head
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"

<titleservlet</title
<!--[if gte mso 9]<xml
<o:DocumentProperties
<o:AuthorUser</o:Author
<o:CompanyTrial</o:Company
<o:Created2008-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:NameSheet1</x:Name
<x:WorksheetOptions
<x:FitToPage/
<x:ProtectContentsFalse</x:ProtectContents
<x:ProtectContentsFalse</x:ProtectContents
</x:WorksheetOptions
</x:ExcelWorksheet
</x:ExcelWorksheets
<x:ProtectStructureFalse</x:ProtectStructure
<x:ProtectWindowsFalse</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

Could somebody please let me know how can I avoid the warning when I open
the above excel in the MS Office 2007.

Should I need to add any MIME type in the above excel to avoid the warning.

Thanks In Advance,
Vidya
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Warning when I try to open ecxel in 2007. Vidya Excel Discussion (Misc queries) 0 November 28th 08 09:46 AM
Saved *.csv file gives SYLK file type warning upon Excel 2003 open Tom Excel Discussion (Misc queries) 5 March 19th 08 03:15 PM
Protecting an Excel 2007 workbook with a warning before opening mike_vr Excel Discussion (Misc queries) 2 August 14th 07 03:08 PM
Macro warning pops up at file open Texas Tonie[_2_] Excel Discussion (Misc queries) 2 May 3rd 07 06:56 PM
Excel file already open warning binaryben Setting up and Configuration of Excel 0 July 6th 05 12:30 PM


All times are GMT +1. The time now is 02:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"