"str$(obj)" for a polyline returns "Polyline", not "Pline". In addition, there is a "line" object type for which str$(obj) returns "line".
You can use either of the two expressions below to search for rows that are neither lines nor polylines: not (str$(obj)=any ("line", "polyline")) instr(1,str$(obj),"line") = 0 Also, you want to look for rows that don't have graphic objects associated with them. Try selecting all of the rows where "not obj". Hope this helps Spencer --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 10901