*QueryUnload:If !Thisform.CloseEvent NoDefaultEndIfThat way your CloseEvent can decide not to close if they hit QueryUnload.Adam