I am have the same problem. I have created code within a function to delete a form object and am calling that function from a button on a form. The form I am attempting to delete is not open at the time I run the code.
My purpose in deleting a form with code is to automate the process of...