E Edward Sep 30, 2004 #1 What is needed in VBA to unload a form from the screen when I click the cancel button? Thanks in advance Edward
What is needed in VBA to unload a form from the screen when I click the cancel button? Thanks in advance Edward
R Ron de Bruin Sep 30, 2004 #2 Hi edward A macro with this line Unload Me More info on this page http://support.microsoft.com/default.aspx?scid=kb;EN-US;829070
Hi edward A macro with this line Unload Me More info on this page http://support.microsoft.com/default.aspx?scid=kb;EN-US;829070
M madbloke Sep 30, 2004 #3 A simple way is to put this line in your button's code: Private Sub CommandButton1_Click() Unload Me End Sub
A simple way is to put this line in your button's code: Private Sub CommandButton1_Click() Unload Me End Sub