Returns a particular bookmark referenced by name or index.




Set Bookmark = XBookmark.Item(Key)



Type Read Only Description
XBookmark Yes The matching bookmark.
Name Type Description
Key Object The name or zero-based index of the bookmark.




Use this property to retrieve a bookmark referenced by full name or zero-based index.

Bookmarks can be referenced by name or by index. The type of the value you pass is used to determine whether you are looking by name or by index.

If you intend to reference an item by index, pass a number. If you intend to reference an item by name, pass a string. In cases where a string is passed but no matching items could be found, an attempt will be made to convert the string to a number and return an item with that index.