Message 1 of 2
Parts List Check

Not applicable
05-19-2014
01:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.