Custom Property Tab

Good Day,

is there a way to use the apply button, in the property tab, to launch a macro?

Thanks

SolidworksApi macros