You can reverse the sense a bit, so instead of : If tData does not contain "Tree" use; if "tree" is not in tData... ************** Dell Deals: Treat yourself to a sweet deal on popular laptops! (http://pr.atwola.com/promoclk/100126575x1223096155x1201715982/aol?redir=http:%2F%2Faltfarm.mediaplex.com%2Fad%2Fck%2F12309 %2D81939%2D1629%2D6)