1) Create a plain text field with the name "SaveOptions" 2) Insert the line below directly before your Call uidoc.close Call uidoc.FieldSetText("SaveOptions", "0")