Drawings.ActiveSheetIndex Property
Exception type | Condition |
---|---|
Thrown when an element with the specified name does not exist in the collection or the name is null. |
When a Sheet is set as active, its entities are shared with the Drawings one.
Since the drawings collection is modified, this method can't be called inside a loop.