Code : Tout sélectionner
Global $filename = "plannings 2012.xls"
Global $filepath = "c:\plannings 2012.xls"
$oExcel = _ExcelBookAttach($filename, "FileName")
If $oExcel = 0 Then
$oExcel = _ExcelBookOpen($filepath, 1)
EndIf
_ExcelNumberFormat($oExcel, "YYYY-MM-DD",1, 3, 2864,3);
$oExcel.Run("JLE")Merci d'avance =)


