View Single Post
 
Old 01-10-2014, 10:58 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by fumei View Post
Or (and I prefer this), if your tables are bookmarked you can point to a table by name
For that you'd use code like:
Code:
With ActiveDocument.Bookmarks("MyBookmark").Range.Tables(1)
  'updating code goes here
End with
where "MyBookmark" is the table's bookmark name.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote