Hi CelinaSo, that can be done for sure. But before that get rid of the software from your window PC (keeping the license code safe). Then proceed with these steps:
Download and Install Software on your MacBook (make sure you have the latest version of macOS that helps runs application smoothly. (thou different people have different opinion over this smooth function if you have latest version [presently 10.14])
Now proceed with installation and where asked for the license code paste the code that you used in your windows PC (make sure to have the software completely removed from your windows laptop/PC.
Boom, now you are all set to use the software hassle free.
Hope this helped you
Regards, Smith