Thread: vba question
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default vba question

Sally,

Do While is a looping structure. It causes code to be repeated
until some condition is False. For example

Dim Test As Boolean
Do While test = True
'
' your code here
'
test = False
Loop

This will execute the code in "your code here" repeatedly until
the variable Test is set to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Sally" wrote in message
...
What does the function "Do While......" do in VB coding
--
Thanks
Sally