Currently I have a lisp routine to delete all page setups in a drawing. What I need, is to only delete the page setup that doesn't have "WRNP" in the name. (defun DeleteOldPageSetup ( Name / Cfgs) (setq Cfgs (vla-get-plotconfigurations (vla-get-activedocument (vlax-get-acad-object)))) (cond ((vl-string-search "*" Name)(vlax-for x Cfgs (if (wcmatch (vla-get-name x) Name)(vla-delete x)))) (T (vl-catch-all-apply '(lambda () (vla-delete (vla-item Cfgs Name))))) ) (princ) ) (DeleteOldPageSetup "*") Thanks for any help.