|
|
|
|
Le HTML ne permet pas de traiter les données et ne permet pas que son contenu soit modifie. Il y a sans doute d'autres possibilités ne t'en fait pas. |
Merci mais je suis sure qu'il y a une solution! peu importe si je dois retourner mon site !!!! aidez moi !!!!!!!! |
Déjà il faut voir si tu dois garder ton fichier au format excel ou pas.
Si oui çà va pas être simple. Si non, regarde du côté de script (php par exemple) ou de xml/xsl (xml pour le stockage et xsl pour les formules). |
Bonjour,
Juste comme ça (je n'y connais rien) à titre de curiosité j'ai fais un petit essai avec excel 2000. Une feuille 3 colonnes, la troisième étant la somme des deux autres. J'ai enregistré la feuille au format HTML, en cochant la petite case ajouter l'interactivité. Ca marche .... J'ai une page au format HTML contenant une feuille excel dans laquelle je peux saisir et la formule fonctionne tres bien. Pour que cela fonctionne il faut Office Web components. Bon je sais pas si t'as t'aide ... en tous cas cela semble confirmer qu'en effet c'est possible. Je te met le code source de la page au cas ou ca te parlerais plus qu'a moi ... <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=FrontPage.Editor.Document> <meta name=Generator content="Microsoft Excel 9"> <link rel=File-List href="./Page_fichiers/filelist.xml"> </head> <body> <!--[if !excel]> <![endif]--> <!--Les informations suivantes ont été générées par l'Assistant Publier en tant que page Web de Microsoft Excel.--> <!--SI vous republiez le même élément à partir d'Excel, toutes les informations entre les balises DIV seront remplacées.--> <!-----------------------------> <!--DÉBUT DE LA SORTIE À PARTIR DE L'ASSISTANT PUBLIER EN TANT QUE PAGE WEB D'EXCEL --> <!-----------------------------> <div id="Classeur1_5038" align=center x:publishsource="Excel"><object id="Classeur1_5038_WebCalc" codebase="file:msowc.cab" classid="CLSID:0002E510-0000-0000-C000-000000000046"> <param name=DisplayTitleBar value=false> <param name=DataType value=HTMLData> <param name=HTMLData value="<html xmlns:v="urn:schemas-microsoft-com:vml" 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> <style id="Classeur1_5038_Styles"> <!--table {mso-displayed-decimal-separator:"\,"; mso-displayed-thousand-separator:" ";} tr {mso-height-source:auto;} col {mso-width-source:auto;} br {mso-data-placement:same-cell;} .xl15 {mso-style-parent:style0; 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;} --> </style> </head> <body> <!--[if gte mso 9]><xml> <x:ExcelWorkbook> <x:SpreadsheetAutoFit/> <x:MaxHeight>80%</x:MaxHeight> <x:MaxWidth>80%</x:MaxWidth> <x:ExcelWorksheets> <x:ExcelWorksheet> <x:WorksheetOptions> <x:StandardWidth>2925</x:StandardWidth> <x:TopRowVisible>0</x:TopRowVisible> <x:LeftColumnVisible>0</x:LeftColumnVisible> <x:ProtectContents>False</x:ProtectContents> <x:ProtectObjects>False</x:ProtectObjects> <x:ProtectScenarios>False</x:ProtectScenarios> </x:WorksheetOptions> </x:ExcelWorksheet> </x:ExcelWorksheets> </x:ExcelWorkbook> </xml><![endif]--> <table x:str border=0 cellpadding=0 cellspacing=0 width=240 style='border-collapse: collapse;table-layout:fixed;width:180pt'> <col width=80 span=3 style='width:60pt'> <tr height=17 style='height:12.75pt'> <td class=xl15 width=80 style='width:60pt' x:num="1"></td> <td class=xl15 width=80 style='width:60pt' x:num="2"></td> <td class=xl15 width=80 style='width:60pt' x:num="3" x:fmla="=SUM(A1:B1)"></td> </tr> <tr height=17 style='height:12.75pt'> <td class=xl15 x:num="1"></td> <td class=xl15 x:num="4"></td> <td class=xl15 x:num="5" x:fmla="=SUM(A2:B2)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A3:B3)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A4:B4)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A5:B5)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A6:B6)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A7:B7)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A8:B8)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A9:B9)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A10:B10)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A11:B11)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A12:B12)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A13:B13)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A14:B14)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A15:B15)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A16:B16)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A17:B17)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A18:B18)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A19:B19)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A20:B20)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A21:B21)"></td> </tr> <tr height=17 style='height:12.75pt'> <td height=17 colspan=2 class=xl15 style='height:12.75pt;mso-ignore:colspan'></td> <td class=xl15 x:num="0" x:fmla="=SUM(A22:B22)"></td> </tr> </table> </body> </html> "> <p style='margin-top:100;font-family:Arial;font-size:8.0pt'>Pour utiliser cette page Web de manière interactive, Microsoft® Internet Explorer 4.01 ou version ultérieure et Microsoft Office Web Components doivent être installé. À consulter : <a HRef="http://officeupdate.microsoft.com/office/redirect/fromOffice9/MSOWCPub.htm?&HelpLCID=1036">site Web Microsoft Office</a> pour plus d'information.</p> </object></div> <!-----------------------------> <!--FIN DE LA SORTIE À PARTIR DE L'ASSISTANT PUBLIER EN TANT QUE PAGE WEB D'EXCEL--> <!-----------------------------> </body> </html> Il me semble avoir compris que si le type qui va sur ton site n'as pas Excel ... il ne verra rien ... Bon voila j'espère que ca t'aide ... un peu ! Quand j'y pense ... je me demande si je fais bien! ~~ Almr ~~.
|
Effectivement si çà marche comme çà ne t'embete pas.
(il te faut web component tout de même) |
J'ai teste, çà marche bien.
Il y a 2 limites : - il faut que le client est Excel. - il faut que tu crée ce document avec Excel XP |
Et en plus je n'arrive pas a enregistrer...
|
Résultats pour excel sous HTML ???
Résultats pour excel sous HTML ???
Résultats pour excel sous HTML ???
Résultats pour excel sous HTML ???
Résultats pour excel sous HTML ???