Use DoCmd.OpenForm to open a form
Private Sub ExampleTextFileObject() DoCmd.OpenForm "frmTextFile", acNormal End Sub