May I Also Suggest
If you are showing the Other Form Modally
Then Dont Unload it , Just Hide it by setting me.visible = false or me.hide
Then unload it in the Form from where you opened it.
I mean
in Form1
In Form2Code:Private Sub Command1_Click() Form2.Show vbModal Unload Form2 End Sub
Code:Private Sub Combo1_Click() If Combo1.Text = "Close" Then Do Required Work Me.Hide Exit sub End If End Sub




Reply With Quote