Hi Mike,
How are the cells you're testing situated? Are they horizontal or vertical?
I personally would just use a label and an AND statement but then I'm pretty simple minded
If the cells are going across columns (horizontal) then something akin to
IF CELLS(MyRow,MyCol) = 0 AND CELLS(MyRow,MyCol+1) <> 0 AND CELLS(MyRow,MyCol+2)=0 THEN GOTO SKIP
Where MyRow and MyCol are variables and SKIP being a label you put just before the NEXT line in your loop.
If the cells are vertical ie in consecutive rows then leave the MyCol constant and increment the MyRow accordingly
For X = 1 to Whatever
' code blah blah
IF CELLS(MyRow,MyCol) = 0 AND CELLS(MyRow,MyCol+1) <> 0 AND CELLS(MyRow,MyCol+2)=0 THEN GOTO SKIP
' more code blah
SKIP:
NEXT X
Hope that helps
-Ken