So what I want to do is to have a message box that pops up when this PowerPoint file is attempted to close that says "Have you uploaded the data?" "Yes" or "No".
If they click "Yes" then Excel closes, if they click "No", it then cancel the closing operation.
I'm very newbie with VBA, if you cloud explain step-by-step to me I would appreciate it.I've trying this code, but it does not work: