2 messages in org.openoffice.fr.progRe: [prog] recuperer le contenu text...
FromSent OnAttachments
GregoryJan 28, 2007 3:51 am 
christianwtdJan 28, 2007 4:37 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] recuperer le contenu texte d'une cellule calcActions...
From:christianwtd (chri@free.fr)
Date:Jan 28, 2007 4:37:36 am
List:org.openoffice.fr.prog

Gregory a écrit :

Bonjour Grégory,

Tu débutes ? Un petit exemple de lecture / écriture

Sub Exemple REM Déclarations API indispensables Dim oDocument As Object, oSheet As Object, oCell As Object oDocument = ThisComponent oSheet=oDocument.Sheets.getByName ("Feuille1") ' oCell = oSheet.getCellByPosition (0,0) oCell.setString( "DUPONT")

TxtCell = oCell.getString TxtCell = "Monsieur " & TxtCell oCell = oSheet.getCellByPosition (2, 1) oCell.setString(TxtCell) End Sub

Regardes aussi les pages : http://christianwtd.free.fr/index.php?rubrique=BasExemplesFonction01 Mais si tu es vrai débutant, plutôt ici : http://christianwtd.free.fr/index.php?rubrique=LBasLoto01

Pour la comparaison tu devrais t'en débrouiller plus facilement. Reviens si ça ne va pas.

Bon surf, Christian