Compound loop conditions

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
 
B

Bill

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