Alexander: Javascript und Office Spreadsheet

Beitrag lesen

Hallo Leute,

ich habe folgendes problem:
ich habe das MS Spreadsheet Plugin in eine html seite eingebunden.
in diese tabelle möchte ich Zahlen reinschreiben (die stelle ist unten im quelltext markiert).
dieses wird auch korrekt dargestellt, problematisch ist allerdings, dass dieses plugin die zahlen als strings interpretiert und in jeder zelle ein einfaches Hochkommata (') vor die zahl schreibt (einfach in die zelle doppelt hineinklicken).
Man kann nun nicht mehr mit den zahlen rechnen, was mich zu der frage bringt:
wie kann ich das aendern?
wie kann ich dem Plugin mitteilen, dass dies eine Zahl ist?

fuer hilfe waere ich echt dankbar!!

Alexander

QUELLTEXT:
------------------------------------------------------------
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Neue Seite 1</title>
</head>

<body>

<p>
<object classid="clsid:0002E510-0000-0000-C000-000000000046" id="Spreadsheet1" codebase="file:///D:/msowc.cab" width="576" height="288">
  <param name="HTMLURL" value>
  <param name="HTMLData" value="<html xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<style type="text/css">
<!--tr
 {mso-height-source:auto;}
td
 {white-space:nowrap;}
.wc40A18D2
 {white-space:nowrap;
 font-family:Arial;
 mso-number-format:General;
 font-size:auto;
 font-weight:auto;
 font-style:auto;
 text-decoration:auto;
 mso-background-source:auto;
 mso-pattern:auto;
 mso-color-source:auto;
 text-align:general;
 vertical-align:bottom;
 border-top:none;
 border-left:none;
 border-right:none;
 border-bottom:none;
 mso-protection:locked;}
-->
</style>
</head>

<body>
<!--[if gte mso 9]><xml>
 <x:ExcelWorkbook>
  <x:ExcelWorksheets>
   <x:ExcelWorksheet>
    <x:OWCVersion>9.0.0.3821</x:OWCVersion>
    <x:Label Style='border-top:solid .5pt silver;border-left:solid .5pt silver;
     border-right:solid .5pt silver;border-bottom:solid .5pt silver'>
     <x:Caption>Microsoft Office Spreadsheet</x:Caption>
    </x:Label>
    <x:Name>Sheet1</x:Name>
    <x:WorksheetOptions>
     <x:Selected/>
     <x:Height>7620</x:Height>
     <x:Width>15240</x:Width>
     <x:TopRowVisible>0</x:TopRowVisible>
     <x:LeftColumnVisible>0</x:LeftColumnVisible>
     <x:ProtectContents>False</x:ProtectContents>
     <x:DefaultRowHeight>255</x:DefaultRowHeight>
     <x:StandardWidth>2340</x:StandardWidth>
    </x:WorksheetOptions>
   </x:ExcelWorksheet>
  </x:ExcelWorksheets>
  <x:MaxHeight>80%</x:MaxHeight>
  <x:MaxWidth>80%</x:MaxWidth>
 </x:ExcelWorkbook>
</xml><![endif]-->

<table class=wc40A18D2 x:str>
 <col width="64">
 <tr height="17">
------------------------------------|
  <td>4</td>            |
 </tr>                        | Wichtige Stelle !!!!!!
  <tr height="17">  |
  <td>34</td>           |
------------------------------------|
 </tr>
</table>

</body>

</html>
">
  <param name="DataType" value="HTMLDATA">
  <param name="AutoFit" value="0">
  <param name="DisplayColHeaders" value="-1">
  <param name="DisplayGridlines" value="-1">
  <param name="DisplayHorizontalScrollBar" value="-1">
  <param name="DisplayRowHeaders" value="-1">
  <param name="DisplayTitleBar" value="-1">
  <param name="DisplayToolbar" value="-1">
  <param name="DisplayVerticalScrollBar" value="-1">
  <param name="EnableAutoCalculate" value="-1">
  <param name="EnableEvents" value="-1">
  <param name="MoveAfterReturn" value="-1">
  <param name="MoveAfterReturnDirection" value="0">
  <param name="RightToLeft" value="0">
  <param name="ViewableRange" value="1:65536">
</object>
</p>

</body>

</html>