Hello, I make a search in a macro and need to know whether something was found or not. How can I do that? This tells me whether some text is selected in the document $textExpression = Read Selection if $textExpression == '' prompt "You need to select some text." exit End It works fine, so why does *this* not work? $textFound = Read Selection if $textFound == '' prompt "Nothing found." exit End I have also tried if $textFound >1 or if $textFound >0 but that does not make any difference. Žorvaršur