The While keyword specifies a condition that allows the execution of a Do loop to continue. The While keyword is not the same as the opening statement of the While...End While block.
The While keyword is used in this context:
Do...Loop Statements
While...End While Statements