'Closes the active inspector and saves changes to its contents:Sub saveMode() ActiveInspector.Close SaveMode:=olSaveEnd Sub