When I add a module to my ActiveX control,

I am trying to reference my ActiveX control from my module..

i.e

UserControl.CommonDialog ....

But I always get the error, UserControl is not defined, when that is definately the name of the control.

what am I doing wrong