Hi

I want vba code I put it in Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) , that close only current document
if opened doc > 1 then close only this document
if not, application.close

no need to save changes
Thanks