I'm new to SolidWorks and VBA and so far I've created a macro to run a basic Design Table operation.
I would like to run my macro only If the current/displayed part name contains the numbers 21-100
In practice this would look like this:
1. open a file, for example ABC21-100
2. Click to run the macro, macro checks if 21-100 is in the file name and if true it runs if not do nothing/stop macro.
What is the best way to do this?