Userform VBA and SolidWorks settings

Hi all

I've been on my Macro for a while now and I'm getting close to the goal but I'm still missing some knowledge.

I created a Userform in which we enter values that represent the reference of our part and I would like that when we leave a box empty the actions linked to it are "suspended" during creation.

Thank you in advance for all the answers

Hello

You have to play with the content analysis and do a treatment.

Basically If textbox1.value = "" then CommandButton1.Enabled = False

For more explanation http://silkyroad.developpez.com/VBA/UserForm/

The example is on Excel but it's the same for any vba app anyway. There are also other FAQs on their site. In the search criteria put Userform.

3 Likes