7 messages in org.openoffice.fr.progRe: [prog] Ecrire dans un fichier
FromSent OnAttachments
DominiqueNov 23, 2005 11:42 am 
hpmtNov 23, 2005 11:38 pm 
Serge LE LOUARNENov 24, 2005 12:44 am 
Famille BRONCHARTNov 24, 2005 8:17 am 
DominiqueNov 24, 2005 10:16 am 
Serge LE LOUARNENov 28, 2005 3:25 am 
MABILLE Bruno SZSIC57-IMLNov 28, 2005 5:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Ecrire dans un fichierActions...
From:hpmt (hp@free.fr)
Date:Nov 23, 2005 11:38:57 pm
List:org.openoffice.fr.prog

Salut Dominique ! il y a une erreur dans l'aide en ligne. je te propose ceci :

Option Explicit Sub EcrireFichierTexteV2() Dim f1 As Integer Dim NomF As String Dim Ch01 As String Dim Ch02 As String Dim Ch03 As String

NomF = "MonTexte.txt" Ch01 = "Moi, Chita" Ch02 = "Toi, Zorro" Ch03 = "Nous, contents"

f1 = FreeFile ' obtenir num Open NomF For Output As #f1 Write #f1, Ch01 ' zone de texte Write #f1, Ch02 'deux Write #f1, Ch03 'Trois Close #f1 End Sub

Bonne journée, et bon courrage, Hélène