I have a checking rule where a part of it iterates through a parts list. However, when there's no parts list it errors.
The reason is the initial call....
Dim oPartList As PartsList
oPartList = oDoc.ActiveSheet.PartsLists.Item(1)
So if a drawing has no parts list, how can I make it jump over this.