Hi,

I am a learner of excel vba. I have created a macro and saved as .cls file at a particular path. I am trying to create a new xlsm file, place a command button in it and use this saved class module on click of the command button created.

I completed my work on creating a xlsm file, placing a command button over there and importing the saved class module. The module sits as "sheet11" under class module in the new xlsm file. How do I use that module's code to execute the macro by clicking the command button?

Regards,
Aravinth