How do I read from a table located with a bookmark
I would lile to read / write to a version history table in a word 2010 document. I can locate the table with a bookmark, but can't see how I access the individual cells so I can write to or read from the table.
Code to locate table with a bookmark
Dim r as Range
If ActiveDocument.Bookmarks.Exists("Document_Revision _Table") Then
Set r = ActiveDocument.Bookmarks("Document_Revision_Table" ).Range
Selection.GoTo What:=wdGoToBookmark, Name:="Document_Revision_Table"
Else
MsgBox "Missing bookmark"
End If
As you can tell from this question I am a novice with vb so any explanatory text would be useful.
Much appreciated.
|