![]() |
#15
|
||||
|
||||
![]()
You should be able to find code online to construct a valid and unique bookmark name. An example of such a macro can be found here http://www.vbaexpress.com/forum/show...-VBA-Bookmarks
Note that Greg's code is not bulletproof but it is a good case study to get you over the next hurdle. Shortcomings of that code, which may or may not matter to you are: - Doesn't verify whether the bookmark name already exists - Doesn't truncate string to the maximum length allowed by bookmarks
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jbvalen | Word VBA | 5 | 05-04-2017 05:03 PM |
Word Mixing Numbered Headings with Numbered List | Tess0 | Word | 11 | 07-15-2014 05:25 AM |
![]() |
triodia | Word | 2 | 05-07-2012 02:03 AM |
![]() |
Caroline | Word | 5 | 03-14-2011 09:09 AM |
XML marking of Auto-numbered Headings | crose | Word | 0 | 12-17-2009 09:55 PM |