View Single Post
 
Old 05-31-2024, 05:38 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote