Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys
Here I am struggling again
I mannaged to make a button to create some iproperties in VBA in a user form, but now I want to have some Textboxes to fill the value of the iproperties
but I can¡t get arroud it
some hel would be great
the custom property is telephone
thanks
Private Sub TextBox1_Enter() Dim invDoc As Document Set invDoc = ThisApplication.ActiveDocument ' Get the design tracking property set. Dim invDesignInfo As PropertySet Set invDesignInfo = invDoc.PropertySets.Item("Design Tracking Properties") ' Get the part number property. Dim invPartNumberProperty As Property Set invPartNumberProperty = invDesignInfo.Item("TELEPHONE") invPartNumberProperty.Value End Sub
Solved! Go to Solution.