I am trying to close drawing that I select with a dialog box. I have the code and it seems to work, but it always saves them. This is the part of the code that I can't seem to get to work. [code] (vlax-for item tx5 (if (= tx8 (vla-get-name item)) (if (= tx9 "1") (vla-close item :vla-true) (vla-close item :vla-false) ) ) ) [/code] I looked in the help and it seems that it wants to save the drawing no matter what if you try and close it from a document collection. <snip> Variant; input-only; optional (Not applicable when called from Documents collection.) Specifies if the drawing is to be saved or not. TRUE: Save the drawing. FALSE: Do not save the drawing. <snip> Any help is greatly appreciated. Tim