You have given some code. But i am not clear that where i need to use them. So that i am not able to get any output. could you please clarify that ?
Create a standard module and name it anything you want. Using VBA editor declare your public variable (whatever name you want) at the top of the module.
Using VBA editor edit the process you want the popup for and set your variable to = "Please Wait" and DoCmd.openform "Your Message Form" at the start of the process module. At the end of the process module set your variable back to nothing "".
In your message form properties change the timer value to 1000, in the on timer event add the code that was provided.
I'm sorry if I'm not explaining this clear enough for you but I've never been accused of being a good instructor. If it's still unclear what you need to do, maybe someone else can explain it better than I.