|
|
|
|
Bonjour tout le monde j'aimerai savoir si c est possible de trier un tableau excel via PHP et cela en traduisant le code VBA suivant:
Code :
Range("A5:J12").Select
Selection.Sort Key1:=Range("J5"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Merci d'avance pour votre aide ;)
Configuration: Windows XP Firefox 3.0.9
Déja pour inclure à une page php faut mettre ca il me semble :
<?
header("Content-Type: application/vnd.ms-excel; name=nomfichier.xls");
header("Content-disposition: attachment; filename=nomfichier.xls");
?>
("\(o_O)/")("\(o_O)/")("\(o_O)/")("\(o_O)/")("\(o_O)/")
("\(o_O)/")Toutes les routes mènent au RHUM ("\(o_O)/") |