There is a limit to the length of a bookmark name so if your strings are too long then the truncated name could be the same.
Looking at your two strings, it appears to be a Case Sensitivity issue. The difference between the two strings in the capitalisation of one character. Unfortunately, it appears that when you try to add a bookmark name that uses the same characters (ignoring case) as a bookmark that already exists then the bookmark gets MOVED (ie the original bookmark is removed).
This could be an insurmountable issue for the purposes of this macro. Can you explain the point of this bookmarking - what are you using the bookmarks for?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|