>>I think just returning a value in Unload (not a form property) should be sufficient.
>
>That's what I thought until I received an error messgage stating the variable doesn't exist. Really weird if you ask me.
Well, did you declare this variable in the Uload method or somewhere else? :)
If you created the variable in some other method than Unload, it would not be visible there, thus using a form property would be a solution.
If it's not broken, fix it until it is.
My Blog