Need random name generator to create unique bookmark names.

M

Marcel

Hi,

I have to create unique bookmark names throughout different word documents.
Afterwards it must be possible that the documents can be combined in any
order or combination without name conflicts between the bookmarks.

Does anyone has a random name/number generator that I can use or another
solution?

Regards,

Marcel
 
W

Word Heretic

G'day "Marcel" <[email protected]>,

Essentially you use a Static variable to hold CurrentUniqueExtension
as Long, increment it each time, test if the suggested bookmark
exists, if it does, increment again until it doesn't.


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Marcel reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top