13 messages in org.openoffice.fr.prog[CALC]Sélection de cellules non conti...
FromSent OnAttachments
SEGUIN FrançoisSep 29, 2007 4:40 am 
xavier roguiezSep 29, 2007 4:45 am 
Bernard MarcellySep 29, 2007 5:24 am 
Bernard MarcellySep 29, 2007 5:31 am 
xavier roguiezSep 29, 2007 5:43 am 
Bernard MarcellySep 29, 2007 6:28 am 
xavier roguiezSep 29, 2007 8:17 am 
SEGUIN FrançoisSep 29, 2007 8:39 am 
xavier roguiezSep 29, 2007 9:03 am 
Bernard MarcellySep 29, 2007 9:37 am 
xavier roguiezSep 29, 2007 9:53 am 
Bernard MarcellySep 29, 2007 10:03 am 
SEGUIN FrançoisSep 29, 2007 11:48 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:[CALC]Sélection de cellules non contiguesActions...
From:SEGUIN François (fseg@wanadoo.fr)
Date:Sep 29, 2007 4:40:05 am
List:org.openoffice.fr.prog

Bonjour,

J'aurai besoin d'une aide car je cherche à sélectionner des cellules qui ne sont
pas contigües avec une macro. Voici le code que j'utilise actuellement pour une zone de cellules . que faut il
modifier?

Par avance merci

Sub ESSAI

dim oDoc as object 'Objet d'acces au document en cours dim oSheet as object 'Objet d'acces au feullies CALC dim oCell as object

Rem * AFFECTATION DE LA VARIABLE D'ACCES AU DOCUMENT ODoc = Thiscomponent

Rem * AFFECTATION DE LA VARIABLE D'ACCES A LA FEUILLE DE CALCUL oSheet = oDoc.Sheets.getByName( "Analyse affaire" )

Rem * AFFECTATION DE LA VARIABLE D'ACCES AUX CELLULES A ECOUTER oCell = oSheet.getCellRangeByName("L5:L11")

End sub