Class Sequences (PowerPoint VBA)
The class Sequences represents a collection of Sequence objects. Use a Sequence object to add, find, modify, and clone animation effects. To use a Sequences class variable it first needs to be instantiated, for example
Dim sqns as Sequences
Set sqns = ActivePresentation.SlideMaster.TimeLine.InteractiveSequences
Add
Returns a Sequence object that represents a new sequence.
Add (Index)
Index: The position of the sequence in relation to other sequences. The default value is -1, which means that if you omit the Index parameter, the new sequence is added to the end of the existing sequences.
Dim sqn As Sequence
Set sqn = ActivePresentation.SlideMaster.TimeLine.InteractiveSequences.Add()
Count
Returns the number of objects in the specified collection.
Dim lngCount As Long
lngCount = ActiveWindow.Selection.SlideRange(1).TimeLine.InteractiveSequences.Count
Item
Returns a single Sequence object from the specified Sequences collection.
Item (Index)
Index: The index number of the single Sequence object in the collection to be returned.
Dim sqn As Sequence
Set sqn = ActivePresentation.SlideMaster.TimeLine.InteractiveSequences(Index:=1)