- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hold on a second...I think I see something else the might possibly be causing the problem.
I noticed that in each of your loops you are using two different systems for looping through the items. That's not good. I believe you can completely eliminate all use of the 'i' variable throughout that whole code. When you use a For Each...Next loop, you don't need to use an Integer to identify which Item you are working with. You only need an Integer for a For i = 1 To oGroup.Count type of loop. So inside of each of your loops (other than the one for parts lists), you are finding one with a certain name, then you are immediately afterwords specifying a 'different' Item that you are working with, other than the current one that you just confirmed the name of.
Wesley Crihfield
(Not an Autodesk Employee)