I'm going to create a macro with several Userforms allowing you to choose an article to open or to create a new one. I would like to write the values entered in the UserForms in the excel cells of my room family. I would have liked to know how to proceed because I seem to have people already talking about it such as:A.Leblanc.
Open the part in Solidworks contained in the zip folder
Launch the macro
Choose what you want to do
The first part of the macro allows you to choose an existing configuration by selecting it in a combobox and displaying it in SW
The second part allows you to create a configuration by filling in fields in the form. By clicking on "Create my new configuration", the code will open the family of parts and write the values directly to it. You will see in passing the use of CDbl() which allows you to convert a String to a Double.
To see the code, right-click on the UserForm1 in the project window and select "Code"