Class MediaBookmark (PowerPoint VBA)
Contains properties and methods that specify information about the bookmark of the media. To use a MediaBookmark class variable it first needs to be instantiated, for example
Dim mbk as MediaBookmark
Set mbk = ActiveWindow.RangeFromPoint.MediaFormat.MediaBookmarks(Index:=1)
Delete
Deletes the bookmark from the collection.
ActiveWindow.RangeFromPoint.MediaFormat.MediaBookmarks(1).Delete
Index
Returns the index position of the bookmark.
Dim lngIndex As Long
lngIndex = ActiveWindow.RangeFromPoint.MediaFormat.MediaBookmarks(1).Index
Name
Returns the name of the bookmark.
Dim strName As String
strName = ActiveWindow.RangeFromPoint.MediaFormat.MediaBookmarks(1).Name
Position
Returns the time that is associated with the bookmark.
Dim lngPosition As Long
lngPosition = ActiveWindow.RangeFromPoint.MediaFormat.MediaBookmarks(1).Position