AnsweredAssumed Answered

Fill in userform-based data into custom properties

Question asked by A. D. on Apr 14, 2016
Latest reply on Apr 15, 2016 by Kevin Chisholm

Hello all,

 

I'm quite new to VBA/API, and very willing to learn it. However, i can't seem to find the correct way of achieving the following.

 

I've made a parametric design of a pallet. In the top level assembly i made custom properties for several parameters. For this instance, let's say Length, Width, Height.

I would like to make a macro with a userform which pops up, giving the ability to fill it in as desired, and then fill these entered data in to the custom properties as mentioned before.

 

I added a example of the .swp file i have thusfar, but have no clue how to "link" the txtboxes to a custom property. Also added a example-picture of the (simplified dummy) userform and the custom properties i'd like to link to.

 

Did a lot of searches, found a lot of topics, but neither of them could help me thusfar.

 

Hopefully you guys can point me in the right direction to solve this issue.

 

 

Thanks in advance,

Arno

Outcomes