Trier un tableau excel avec php
Fermé
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 ;)
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 ;)
A voir également:
- Trier un tableau excel avec php
- Trier un tableau excel - Guide
- Tableau word - Guide
- Comment imprimer un tableau excel sur une seule page - Guide
- Tableau ascii - Guide
- Liste déroulante excel - Guide
2 réponses
loocla
Messages postés
180
Date d'inscription
vendredi 24 avril 2009
Statut
Membre
Dernière intervention
18 juin 2009
18
28 avril 2009 à 14:09
28 avril 2009 à 14:09
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"); ?>