3 messages in org.openoffice.fr.progRe: [prog] Fonction dans controle de ...
FromSent OnAttachments
Arnaud POUSSIERJan 18, 2007 1:21 am 
Bernard MarcellyJan 18, 2007 4:03 am 
Arnaud POUSSIERJan 18, 2007 5:05 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] Fonction dans controle de formulaireActions...
From:Bernard Marcelly (marc@club-internet.fr)
Date:Jan 18, 2007 4:03:02 am
List:org.openoffice.fr.prog

Bonjour Arnaud POUSSIER Message du 2007-01-18 10:21:

Bonjour à tous,

Une petite question: Est-il possible de remplir une texbox par une fonction ( en l'occurence
=AUJOURDHUI() ) en appelant celle-ci par une macro associé à un bouton ?

On peut remplir le champ d'une TextBox avec n'importe quoi donnant une chaîne de caractères.

Si le problème est : peut-on utiliser une fonction Calc ? Réponse oui, mais pas comme ça. Voir le livre, chapitre 12, section : Utiliser une fonction de Calc.

Si le problème est : comment obtenir la date d'aujourd'hui ? La réponse en Basic est la fonction Now().

Bernard