Hi. I have two (related) codes. The first makes sure that only the form would be visible upon opening (works well). And the other is kind of "emergency" button - to be pushed if the user needs to get into the database (which should usually be invisible). But something wrong with CommandButton4_Click.. It didn't upload the application, and I needed to use the immediate window to solve it.
Sub Workbook_Open()
UserFormPhoneBook.Show
Application.Visible = False
End Sub
Private Sub CommandButton4_Click()
Application.Visible = True
End Sub
Bookmarks