![]() |
#9
|
||||
|
||||
![]()
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] |
Tags |
bookmarks, vba word, word 2010 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
RegAudit | Word | 6 | 03-16-2015 11:08 PM |
![]() |
Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
vba to go to next bookmark | megatronixs | Word VBA | 2 | 06-08-2014 09:53 PM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
![]() |
rockwellsba | Word VBA | 2 | 05-31-2011 01:07 AM |