Answers for "visual basic do while"

VBA
0

do until vb.net

Dim z As Integer = 0
'Do the action until the condition is true

'add 1 to z until z equals 20
Do Until z = 20
	MsgBox(z)
	z += 1
Loop
Posted by: Guest on September-04-2020
0

do while not vb.net

Dim y As Integer = 1
'Do the action while the condition is not true

'add 1 to y while y is not equal to 10
Do While Not y = 10
	MsgBox("Y value = " & y)
	y += 1
Loop
Posted by: Guest on September-04-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language