I have a popup for entering a password -- if the correct password is entered, another form opens and I want the popup to close automatically without the user having to click a close button. I get runtime error 2585 when I put DoCmd.Close acForm, "EnterPWord" in the onOpen event of the new form. I have tried various ideas and nothing works.