Search notes:

VBA statement: do while

do … while is a looping statement.
sub doWhileTest()

    dim i as integer
    
    i = 4
    do while i < 8
        debug.print "i = " & i
        i = i+1
    loop

end sub
Github repository about-VBA, path: /language/statements/do-loop/while.bas

See also

VBA statements

Index