Compound loop conditions

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Does VBA offer compound loop conditions?
Example:
For k = 1 to n While( kn < km)
blah blah blah
Next

Loops until EITHER k becomes equal to n or
kn becomes equal to or greater then km.

Bill
 
Funny how one's mind-set becomes tempered by the
long term use of other languages.
Thanks,
Bill
 

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