I could do that, but I need it in Class Module.

Any solutions?