Ver Mensaje Individual
  #24 (permalink)  
Antiguo 05/06/2009, 16:33
Avatar de a n g e l u s
a n g e l u s
 
Fecha de Ingreso: enero-2006
Ubicación: Chile
Mensajes: 237
Antigüedad: 19 años, 3 meses
Puntos: 1
Respuesta: leer un excel exportado desde asp.

hola, retomo la respuesta para complementarla.


este es el excel


Código PHP:
<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">

<
head>
<
meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<
meta name=ProgId content=Excel.Sheet>
<
meta name=Generator content="Microsoft Excel 11">
<
link rel=File-List href="76005200-0_archivos/filelist.xml">
<
link rel=Edit-Time-Data href="76005200-0_archivos/editdata.mso">
<
link rel=OLE-Object-Data href="76005200-0_archivos/oledata.mso">
<!--[if 
gte mso 9]><xml>
 <
o:DocumentProperties>
  <
o:LastAuthor>WinuE</o:LastAuthor>
  <
o:LastSaved>2009-06-05T22:44:30Z</o:LastSaved>
  <
o:Version>11.9999</o:Version>
 </
o:DocumentProperties>
 <
o:OfficeDocumentSettings>
  <
o:DownloadComponents/>
  <
o:LocationOfComponents HRef="/"/>
 </
o:OfficeDocumentSettings>
</
xml><![endif]-->
<
style>
<!--
table
    
{mso-displayed-decimal-separator:"\,";
    
mso-displayed-thousand-separator:"\.";}
@
page
    
{margin:.98in .79in .98in .79in;
    
mso-header-margin:0in;
    
mso-footer-margin:0in;}
tr
    
{mso-height-source:auto;}
col
    
{mso-width-source:auto;}
br
    
{mso-data-placement:same-cell;}
.
style0
    
{mso-number-format:General;
    
text-align:general;
    
vertical-align:bottom;
    
white-space:nowrap;
    
mso-rotate:0;
    
mso-background-source:auto;
    
mso-pattern:auto;
    
color:windowtext;
    
font-size:10.0pt;
    
font-weight:400;
    
font-style:normal;
    
text-decoration:none;
    
font-family:Arial;
    
mso-generic-font-family:auto;
    
mso-font-charset:0;
    
border:none;
    
mso-protection:locked visible;
    
mso-style-name:Normal;
    
mso-style-id:0;}
td
    
{mso-style-parent:style0;
    
padding-top:1px;
    
padding-right:1px;
    
padding-left:1px;
    
mso-ignore:padding;
    
color:windowtext;
    
font-size:10.0pt;
    
font-weight:400;
    
font-style:normal;
    
text-decoration:none;
    
font-family:Arial;
    
mso-generic-font-family:auto;
    
mso-font-charset:0;
    
mso-number-format:General;
    
text-align:general;
    
vertical-align:bottom;
    
border:none;
    
mso-background-source:auto;
    
mso-pattern:auto;
    
mso-protection:locked visible;
    
white-space:nowrap;
    
mso-rotate:0;}
.
xl24
    
{mso-style-parent:style0;
    
text-align:center;
    
background:white;
    
mso-pattern:auto none;}
.
xl25
    
{mso-style-parent:style0;
    
text-align:center;
    
border:.5pt solid black;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl26
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl27
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:white;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl28
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCFFFF;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl29
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCCCFF;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl30
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFF99;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl31
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFCC99;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl32
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl33
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:.5pt solid black;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FF99CC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl34
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:.5pt solid black;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl35
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl36
    
{mso-style-parent:style0;
    
text-align:left;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl37
    
{mso-style-parent:style0;
    
mso-number-format:"Short Date";
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl38
    
{mso-style-parent:style0;
    
mso-number-format:"\#\,\#\#0";
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl39
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:white;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl40
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCFFFF;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl41
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCCCFF;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl42
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFFF99;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl43
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#FFCC99;
    
mso-pattern:auto none;
    
white-space:normal;}
.
xl44
    
{mso-style-parent:style0;
    
text-align:center;
    
border-top:none;
    
border-right:.5pt solid black;
    
border-bottom:.5pt solid black;
    
border-left:none;
    
background:#CCFFCC;
    
mso-pattern:auto none;
    
white-space:normal;}
-->
</
style>
<!--[if 
gte mso 9]><xml>
 <
x:ExcelWorkbook>
  <
x:ExcelWorksheets>
   <
x:ExcelWorksheet>
    <
x:Name>76005200-0</x:Name>
    <
x:WorksheetOptions>
     <
x:DefaultColWidth>10</x:DefaultColWidth>
     <
x:Selected/>
     <
x:DoNotDisplayGridlines/>
     <
x:ProtectContents>False</x:ProtectContents>
     <
x:ProtectObjects>False</x:ProtectObjects>
     <
x:ProtectScenarios>False</x:ProtectScenarios>
    </
x:WorksheetOptions>
   </
x:ExcelWorksheet>
  </
x:ExcelWorksheets>
  <
x:WindowHeight>12270</x:WindowHeight>
  <
x:WindowWidth>23595</x:WindowWidth>
  <
x:WindowTopX>600</x:WindowTopX>
  <
x:WindowTopY>45</x:WindowTopY>
  <
x:ProtectStructure>False</x:ProtectStructure>
  <
x:ProtectWindows>False</x:ProtectWindows>
 </
x:ExcelWorkbook>
</
xml><![endif]-->
</
head
__________________
Atte,
A n g e l u s
Concepción - Chile
más vale respuestas bien pensadas, que 7000 post

Última edición por a n g e l u s; 05/06/2009 a las 16:47