How do I pause my sub from executing the rest of the code until the Call from the other sub is finished?

Code:
'for example
If then
    Do While
    Loop

    cmdSubmitAll_Click 'I want to wait here while cmdSubmitAll_Click executes

    Do While
    Loop
End I