This documentation is archived and is not being maintained.

While (Visual Basic) 

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 can be used in this context:

Do...Loop Statement