Yes,
send the parameter as reference
(Store ThisForm.Timer1 to a temp var, and use it as a parameter with @ sign)
-or-
you can create
Private variable with a specific name, store ThisForm.Timer1 to it, and use this variable in your UDF.
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!