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?

Horst



Am 27.09.2019 um 19:24 schrieb Wolfgang Jäth:
Am 27.09.2019 um 12:56 schrieb [email protected]:
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: [email protected]
For additional commands, e-mail: [email protected]

Antwort per Email an