Call a macro from another macro user form

I have a few macros download online. I want to create a window form to use buttons to call those macros. May I know how to do that?

Some of the macros require select lines/dimensions from drawing before active. E.g. I attached a macro to make 4 decimal point of the dimension

Thanks

SolidworksApi macros