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


Hallo Franklin,

Basic Laufzeitfehler
Eigenschaft oder Methode nicht gefunden: supportsService.

Die auslösende Zeile im Makro, die auf Empfehlung eines
Listenteilnehmers eingefügt wurde und mit der erreicht werden sollte,
dass das Makro nur bei Calc-Dokumenten zur Ausführung kommt, lautet:

IF NOT ThisComponent.supportsService (
"com.sun.star.sheet.SpreadsheetDocument" ) then exit Sub

Vermutlich versuchst Du, das Makro direkt aus dem Editor zu starten. Da gibt es supportsService erst einmal nicht. Du musst schon irgendein Dokument geöffnet haben. Bei mir funktioniert das jedenfalls unter LO 7.4.3.2

Gruß

Robert
--
Homepage: https://www.familiegrosskopf.de/robert


--
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/
Datenschutzerklärung: 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.