Macro from Custom Properties Tab

Is it possible, probably not, to run a macro from the Custom Properties Tab?

I have used the Property Tab Builder to set up, but would like to run a macro as well to turn layers on and run IF/THEN arguements based on the users input.

SolidworksGeneral