Bonjour à tous,
Je suis actuellement en train de réaliser un site web en ASP et je génère sur celui ci une liste que j'insère dans un fichier excel.
Je procède de cette manière:
Est-ce que quelqu'un saurait comment changer les propriétés du texte et des cellules (couleur, police, ...) ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 Set FSO = Server.CreateObject("Scripting.FileSystemObject") fil = "excel/formations.csv" Set inF = FSO.CreateTextFile(Server.MapPath(fil)) If right(fil,3)="csv" Then inF.writeLine"Champ1;Champ2;Champ3" inF.writeLine"Champ4;Champ5;Champ6" inF.writeLine"Champ7;Champ8;Champ9" ... ... Set inF = Nothing Set FSO = Nothing End If
Partager