philipad
11-26-2008, 12:53 AM
Hi all
I use Microsoft 2003 Office and I am trying to use a code to copy the content of a cell and paste it into a bookmark. Instead of the cell content I get the cell itself copied into the bookmark.
Can anyone help?
Sub bookmarktest()
ActiveDocument.Tables(1).Cell(1, 1).Select
Selection.Copy
ActiveDocument.Bookmarks("book1").Select
Selection.Paste
End Sub
I use Microsoft 2003 Office and I am trying to use a code to copy the content of a cell and paste it into a bookmark. Instead of the cell content I get the cell itself copied into the bookmark.
Can anyone help?
Sub bookmarktest()
ActiveDocument.Tables(1).Cell(1, 1).Select
Selection.Copy
ActiveDocument.Bookmarks("book1").Select
Selection.Paste
End Sub