Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Merci Jean-François pour ta réponse
mais comment fait on pour l'affecter à une cellule ?
Merci par avance pour la réponse.
Cordialement,
Philippe

Le lun. 29 oct. 2018 à 20:23, Jean-Francois Nifenecker <
jean-francois.nifenecker@laposte.net> a écrit :

Le 29/10/2018 à 20:00, Philippe BLANCHARD a écrit :
Bonjour,
Ca marche impeccable ! Merci beaucoup !
et comment fait on pour que la macro affecte une valeur dans une cellule
??

on fait dans l'autre sens :

une chaîne de caractères
oCell.String = "mon texte"

une valeur numérique (ou une date)
oCell.Value = 1,2345
ou
oCell.Value = Now()

Tu peux même écrire une formule :
oCell.FormulaLocal = "=SOMME(A1:B10)"

Bien cordialement,
--
Jean-Francois Nifenecker, Bordeaux



-- 
Envoyez un mail à users+unsubscribe@fr.libreoffice.org pour vous désinscrire
Les archives de la liste sont disponibles à https://listarchives.libreoffice.org/fr/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.