View Single Post
 
Old 06-07-2015, 03:16 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
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

OK, so why not use something like:
Code:
Const BmkNm as String = "MyTable"
With doc
  If .Bookmarks.Exists(BmkNm) Then
    'Do whatever you want with the bookmark and/or its table.
  Else
    MsgBox ("Bookmark '" & BmkNm & "' not present in the document.")
  End If
End With
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote