Thanks @sir gmayor

I have not written any code yet. I added a userform and a RecipientControl on top of that userform. The issue is when I try to run the form, it produces the error.

Note: When I delete RecipientControl then form does load.

I am not sure why I am unable to attach a file here.