Bonsoir à tous !
Vous êtes tous trop fort !
Merci beaucoup de votre aide et de votre rapidité !
Bonne soirée
Philippe
Le dim. 18 nov. 2018 à 18:55, Michel Rudelle <rudelle.michel@gmail.com> a
écrit :
Bonsoir,
Il faut utiliser value qui renverra une valeur numerique (entier ou autre)
Avec string, on obtient la valeur numérique sous forme de chaîne, et 4+1
équivaut à 4&1 donc 41
Cordialement,
Michel
Le dim. 18 nov. 2018 à 18:32, Philippe BLANCHARD <
phillibreoffice@gmail.com> a écrit :
Bonjour à tous,
Je rencontre encore une difficulté dans une macro. En effet, j'ai ceci :
NbPtsVictoire=oSheetData.getCellByPosition(8,1).String
Tab_Journee(RangEq1,2)=NbPtsVictoire
Par contre, quand j’exécute des calculs, ça marche pas !
4+1 = 41 et non 5
et si je mets :
NbPtsVictoire=oSheetData.getCellByPosition(8,1).Integer
j'ai le message suivant :
Erreur d'exécution BASIC.
Propriété ou méthode non trouvée : Integer.
Qu'en dites vous ??
Merci par avance de votre aide.
Cordialement,
Philippe
--
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
-- 
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.