Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
When you open a potm file from explorer it creates a NEW presentation based on it NOT the original. Your onLoad is looking for the macro in the ORIGINAL and it's not there.
There's no reliable way to do what you are trying unless you create an AddIn with event handling in a Class module that detects the Template. This would need to on all PCs.
The same thing will happen if you create New from template. If you are distributing the template you would also have problems with macro security on users PCs.
Microsoft® MVP PowerPoint® since 2007.
Web Page: PowerPoint Alchemy Hints and Tips
