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


Hey Günter,

oZelle.Formulalokal = sTmp

sollte es richten.

Viele Grüße
Thomas

Am 31.10.2017 um 17:09 schrieb Günter Fritze:
Hallo zusammen,
Man lernt doch nie aus. Ich generiere mir einen speziellen Kalender, bei dem in einer Zeile ein Mittelwert errechnet werden soll. Ich schrieb folgende FOR-Schleife
    For i=4 To 22
        sTmp = "=MITTELWERTA($B$"+Trim(str(i))+":"+sEnden(iIndex)+Trim(str(i))
'            oder auch sTmp = "=MITTELWERTA($B$4:$AF$4)"
         oZellel = oSheet.getCellByPosition(iUltimo(iK)+1,i-1)
         oZellel.Formula = sTmp
    Next i
Als Ergebnis steht in den entsprechenden Zellen der Ausdruck, wie gewünscht, aber die mittelwertea in kleinen Buchstaben und, erbildet keinen Mittelwert, er macht garnichts.

Schreibe ixh indem Programm "AVERAGEA", dann passiert folgendes Überraschende:
Nach tem Ablauf steht in der Zelle "MITTELWERTA" und er rechnet sogar.

Da kann man nur sagen, der Fritze wieder!

Herzliche Grüße
Günter




--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

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.