Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, i trying to Sort part list by Part number. But this code doesnt work for me. Only renumbering works..
Any idea why?
SyntaxEditor Code Snippet
On Error Resume Next Dim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocument Dim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1) If Not oPartsList Is Nothing Then Call oPartsList.Sort("PART NUMBER") oPartsList.Renumber oPartsList.SaveItemOverridesToBOM End If
Solved! Go to Solution.