Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple conditions: DoWhile Loop

Status
Not open for further replies.

Eytch

Programmer
Jan 29, 2003
60
0
0
US
Do
Do
.
.
.
Loop While E9 = E12
Loop While E10 = E11

Working in Excel how would I incorporate both conditions into one DoWhile Loop? What is the proper syntax to get something such as the following to work:

Do
.
.
.
Loop While E9 = E12, E10 = E11

Thanks,
Eytch
 
Try something like:
Code:
Do
.
.
.
Loop While [E9].Value = [E12].Value And [E10].Value = [E11].Value


Regards,
Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top