[Resolved] Copy/Paste a Word Textbox
Anybody have an idea on how to programatically in VBA copy and paste a textbox.
I have given the TextBox a name (also tried with Bookmarks).
What I basically want to do is to copy the text box from one document and paste it into another document.
Bookmarks don't work. If you bookmark a textbox, you basically bookmark the text range in the textbox.
If have found a way to identify the textbox I am looking for in ActiveDocument.Shapes, and now I only need some way to also copy the textbox to the clipboard ... I am sure the paste will work pretty smooth.
Thanks in advance.
:-)an
Re: Copy/Paste a Word Textbox
After some testing on my own, I finally found the solution:
VB Code:
....
[INDENT]With TB
[INDENT].Anchor.ShapeRange.Select
Document.Windows.Selection.Copy[/INDENT]End With[/INDENT]....
:-)an