Hallo Gemeinde,
sitze vor folgender Situation: habe ein Word Dokument bereits geöffnet und will ein weiteres öffnen um von dort eine Tabelle(unter mehreren) zu kopieren und in mein erstes Doku einzufügen. Kann mir jemand mit einem Beispiel aushelfen? Hab in der Hilfe nichts passendes gefunden.
Vielen Dank im Voraus!
Matze
Tabelle aus anderem Dokument kopieren und einfügen
-
matzemax -
25. März 2014 um 16:15 -
Erledigt
-
-
Sollte möglich sein: http://msdn.microsoft.com/en-us/library/…fice.14%29.aspx
ZitatThis example copies and pastes the first table in the active document into a new document.
If ActiveDocument.Tables.Count >= 1 Then
ActiveDocument.Tables(1).Range.Copy
Documents.Add.Content.Paste
End IfKann derzeit leider nicht testen, aber ab Freitag kann ich mit einer funktionierenden Lösung aufwarten.
-
Bitte solche Themen nicht in Talk posten, dass gehört in Hilfe und Unterstützung.
-
- Offizieller Beitrag
[verschoben nach H&U]