exit while?

  • Thread starter Thread starter Steven Deng
  • Start date Start date
S

Steven Deng

Hello, I realize that there are "exit do", "exit for" in vba, is there a
particular reason that vba does not support "exit while"? Seems that i will
have to "goto" instead.

Sincerely,
Steven Deng
 
There is no "exit from while" equivalent statement.

I suggest you use Do / Loop instead. You can have conditions at the Do end
or Loop end and use Exit Do
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top