>On second thought, if you have code in a form that needs to be
>run when the form is not open, then maybe the code doesn't belong
>in that form anyway. You would be better off writing a procedure
>or an application method, and calling that method from the button
>and wherever else ou want to run it from.
Yup, that's what I was going to say too. You mean application _object_
method, right?