Nachtrag

Am 28.09.2019 um 08:29 schrieb technik_...@jrsch.de:
Hallo und danke noch mal.

Leider funktioniert das auch nicht. Ich hatte das Makro schon nach den Vorschlägen von Jörg angepasst, die praktisch das gleiche sind.

Also:

Es scheint meine Installation ist defekt. Aber wo könnte der Fehler liegen?

Was ist zu tun?
Ich habe Version 4.1.6 und Java 1.8.0_211. Aber wenn ich im Hilfeprogramm auf Update suchen gehe, gibt das auch eine Fehlermeldung:
Fehler beim Lesen der Daten vom Internet.
Serverfehlermeldung: .

Also Irgendwas scheint nicht zu stimmen.


Horst




Am 27.09.2019 um 19:24 schrieb Wolfgang Jäth:
Am 27.09.2019 um 12:56 schrieb technik_...@jrsch.de:
Hallo,

danke für den Link, aber das betrifft Spreadsheet.
Hmpf; stimmt; sorry.

Sub ViewCursorPlazieren
    i = 0
    f = 3
    g = 4

    myDoc = thisComponent

    myTables = myDoc.getTextTables()
    myTable = myTables.getByIndex(i)
    myCell = myTable.getCellByPosition(1 , f)

    myController = myDoc.getCurrentController()
    myCursor = myController.getViewCursor()
    myCursor.gotoRange(myCell, false)
End Sub

funktioniert bei mir; im Writer.

Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-de-h...@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-de-h...@openoffice.apache.org

Antwort per Email an