AnsweredAssumed Answered

Userforms - Configurations

Question asked by Nick Hayman on May 11, 2014
Latest reply on May 15, 2014 by Patrick O'Hern

Morning all,

 

Attached is a macro that takes a design library sketch and places it onto a selected plane. Using left and right planes as reference to position it.

 

 

Id like to set up a user form that controls which configuration is chosen when bringing in the library sketch. In the case of the attached macro the configurations is set as shown below:

 

' Set the name of the active library feature configuration

    swLibFeat.ConfigurationName = "3"

 

So I would like a userform to show up with an options button - 1, 2 & 3. Where 1,2 & 3 are the names of the configuration. Hope that makes sense?

 

Can you also show me how to link this to a text box? Same idea but if a number which isnt 1, 2 & 3 is entered a Message box appears saying try again.

 

 

Im sure this is simple to do but so far i have failed! First effort with userforms.

 

Many Thanks in advance.

Nick

Attachments

Outcomes