Hello Leith,
thank you for your response. Here are the answers to your questions:

1.The cells will be selected by the user, since they will be different every now and then.
2. The InputBox will be displayed after clicking a button.
3. The password for the worksheet is "esp".

I will be happy to give you any other information needed. And I am really looking forward to hearing from you again. Thank you in advance for all your time and effort.

P.S.: Hello Paul. Sorry for any inconvenience. I will surely read all your suggestions.