Solidworks and User Forms

Hi Everyone;
I would like to make a macro that displays a dialog box that is automatically populated with the names of all the sheets in a Solidworks drawing. The goal is to have another column where i can rename the sheets and hit the apply button to action the rename. It is a client requirement.
Writing the code to rename things I am comfortable with but incorporating the Form that's new to me.
Could someone point me in the right direction or help in any way.
Darren..

Comments 2
DG
DG 2021-10-01

Go here http://www.lennyworks.com/solidworks/default.asp?ID=20 

 

and look for DeleteSelectConfigs macro. That would help you get started with forms.

MP
MP 2021-10-01

If it's of any help, I have a macro that I use to rename sheets in a drawing file starting with a number you enter. You could use that code along with the form code @DG linked to and kludge it together.
Here's a link to my macros:
https://cadforum.net/app.php/downloadsystemcat?id=2

@AT also has some great macros and resources at https://www.codestack.net/solidworks-tools/