Ich.....
À ce que je croyais, ce n'est pas possible mais Javascript nous réserve parfois des surprises !
Voici ce que j'ai trouvé :
Code Javascript :
// Declare the variables
var Excel, Book;
// Create the Excel application object. Excel = new ActiveXObject("Excel.Application");
// Make Excel visible. Excel.Visible = true;
// Create a new work book. Book = Excel.Workbooks.Add()
// Place some text in the first cell of the sheet. Book.ActiveSheet.Cells(1,1).Value = "This is column A, row 1";
// Save the sheet. Book.SaveAs("C:\\TEST.XLS");
// Close Excel with the Quit method on the Application object. Excel.Application.Quit();
Problème : Compatible IE seulement
JDMCreator
--------
Participez au nouveau projet : la wiki sur le javascript !
fr.jsinfo.wikia.com