Hi everyone,
I might be misunderstanding the request, but I interpreted it to be asking for how to determine the property set, so that the Iproperty value can be set with the information pulled from excel, that information being an iproperty name and a corresponding value...
So with that in mind, I'll add this example too.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
'pretend this info is being pulled from Excel
sPropertyName = "Part Number"
sPropertyValue = "777-7777-009"
'this uses the above info to set the value for property
For Each oSet In ThisApplication.ActiveDocument.PropertySets
For Each oProperty In oSet
If oProperty.name = sPropertyName Then
'set the property value
oSet.Item(sPropertyName).Value = sPropertyValue
Exit For
End If
Next
Next