jeudi 2 juillet 2015

VBA If 'statment' < 1 or 'statment < 1 Then Loop

I need the if statement to loop if not at least one of the criteria are met. Working with some basic scraping. Need this to loop before I start gathering data.

If ie.document.getElementsByClassName("clicks").Length < 1 Or ie.document.getElementsByClassName("feedback").Length < 1 Then
Do: Loop
End If

Aucun commentaire:

Enregistrer un commentaire