8 messages in org.openoffice.fr.progRe: [prog] RE : Re: [prog] fonction M...
FromSent OnAttachments
jamila hafydJun 24, 2006 3:05 am 
christianwtdJun 24, 2006 5:32 am 
jamila hafydJun 26, 2006 3:35 am 
Mathias MichelJun 26, 2006 4:20 am 
jamila hafydJun 26, 2006 4:59 am 
Francois GattoJun 26, 2006 3:21 pm 
Francois GattoJun 27, 2006 1:08 pm 
Francois GattoJun 27, 2006 2:22 pm 
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] RE : Re: [prog] fonction Min et la recherche sous calcActions...
From:Mathias Michel (math@gmail.com)
Date:Jun 26, 2006 4:20:12 am
List:org.openoffice.fr.prog

Le 26/06/06, jamila hafyd<mail@yahoo.fr> a écrit :

Bonjour Christian

christianwtd <chri@free.fr> a écrit:

Bonjour Jamila, Je ne vais pas trop pouvoir t'aider, je dois m'absenter, mais pour le PB > 2, essaies un truc comme ça :

If oCell.String <> "" Then TexteLu = oCell.String If IsNumeric(TexteLu) Then Nombre = oCell.Value

Dans mon maroc j'utilise la fonction Min sur une zone de cellule pas une
seule cellule , et je ne sais pas exactement ou je peux utiliser ton truc ------------------------------ LesFeuilles=ThisComponent.sheets() LaFeuille=LesFeuilles.getbyname("Feuille1") LeRange=LaFeuille.getcellrangebyName(oCell) 'Arguments de la fonction dim Arguments(0) arguments(0)=LeRange result=lafonc.callfunction("MIN",arguments())

MonMin=result ------------------------------

Si la fonction MIN ne gère pas bien les nombres saisis en texte, il va falloir retravaillé ton Range pour n'avoir que des nombres, notamment avec CDec.