How do I make a fomr disappear after another form is opened. basically I have a menu that leads to sub menu(sub form s) so when I click on a button in the menu another form opens but i want the menu form to close. until I open it again by clicking on a button on the other form.
I tried the following but does not work
userform1.visible = false
and userform1.hide....
Neither works
here is the actual code.
I tried the following but does not work
userform1.visible = false
and userform1.hide....
Neither works
here is the actual code.
Code:
Private Sub btnOpenDatasheetMenu_Click()
frmUsrDataSheet.Show
frmUserFormExample.Visible = False
End Sub