Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI,I don't know how to make this rule work below the code, who can tell me what to do?
Thanks!
Dim oDoc As Document
oDoc = ThisApplication.ActiveDocument
Dim osubdoc As Document
Dim opropset As Inventor.PropertySet
Dim icount As Long
For Each osubdoc In oDoc.AllReferencedDocuments
opropset = osubdoc.PropertySets.Item(4).Item 'User DefinedProperties
icount = opropset.Count
If icount>0 Then
For i = icount To 1 Step -1
On Error Resume Next
opropset.Item(i). Delete
Err.Clear
Next
End If
Next
Solved! Go to Solution.