Hi All,

I have some code that runs, but needs to be paused for a moment and then continue when a user clicks a button on message box that appears.
so it could be like below:

code runs
code comes to a pause point and shows message box
user clicks message box ok button when he finish
code continues

This will be part of a loop.

I was googeling with no luck. the only thing I found was the below that gives me an error when clicking on it (is like getting a second continue with code button)

RetVal = MsgBox("Program Paused - Click OK to continue", vbOKOnly + vbInformation)
any idea how to solve this?

Greetings.