Thanks RobDog888.
I just added that declaration in a module but I got a compile error saying User-defined type not defined.