Supportnet Computer
Planet of Tech

Supportnet / Forum / Tabellenkalkulation

Excel Tabelle an eine bestimmte Stelle im Word exportieren





Frage

Hallo Leute, mit dieser Routine exportiere ich markierten Text nach Word: [code] Dim MSWord As Object Set MSWord = CreateObject("Word.Application") Selection.Copy With MSWord .Visible = True .Activate .Documents.Open "C:\Template.doc" With .Selection .Paste .MoveRight End With End With Set MSWord = Nothing [/code] Allerdings der Export beginnt in der ersten Word-Zeile FRAGE: Wie mache ich es, dass der Export in der Mitte des Word-Docs beginnen soll? Vielen Dank und Gruß SL

Antwort 1 von SabineLo

Habe schon selber rausgefunden:

1) MeineMarke im Word an die entsprechende Stelle setzen
2) und dann im code

.Goto Name:="MeineMarke"


Grüße

SL