very simple
it finishes doing all events that were called before the command and then goes on
lets say I do this code
Textbox.text = " hello world" ' make text box say Hello World
Doevents
MMControl.Command = "play" ' play a sound through MMcontrol component
In that case Doevents will not do next instruction until textbox.text was completed. This is a simple example, sometimes ( like in my VB code by my butler robot) there are more complicated things that need to be done in sequence.