If CurrentProject.AllForms("フォーム名").Isloaded = True then MsgBox "フォームはひらいていいます。" Else msgBox "フォームがとじています。" EndIF