Hi,

Thanx! for you reply.

Previously it was not working for me. At last i found the key.

I haven't set the reference to Microsoft Forms 2.0 object library in my VBA project.

That's the problem.

Now the same code which you gave works fine for me.

Thanks a lot!

CS.