0 votes
in VBA by Beginner (2 points)

I would like to know how to create a login screen so that a user can enter their own username and password, not one I have to create for them. I created a login screen there and created a username and password for the user, but now he wants to use his own password so that he can keep it secret from everyone.
I am not an excert but am learning VBA.
Thank you very much for your advice.

by Skilled (477 points)
Can you tell us more about your environment? Are passwords required to control access to certain parts of workbooks? Is the user your boss? That's the only reason I can think for someone having the nerve to make such a demand.

In general, I think it is a bad idea for those of us who are not security professionals to go about reinventing the wheel. Depending on how important your workbook is, you may want to research external access controls that can't easily be circumvented.

I have a folder full of software that can hack just about any Excel workbook. Your user's password wouldn't remain secret very long, if a determined person has ten minutes alone with your workbook and Google.




Please log in or register to answer this question.

Welcome to wellsr Q&A
wellsr Q&A is the VBA and Python programming community that rewards you for learning how to code.

Getting Started
VBA Cheat Sheets (On Sale Now)

Earn free prizes for asking VBA and Python questions and for answering questions asked by others in our community.

Looking for something else? Hire our professional VBA Help, instead.

What makes us different?
Our points system rewards you with a chance for free gifts based on the quality of your questions and answers. All you have to do is post and you could get rewarded, like these members:

ParserMonster $25 Amazon Gift Card
Hightree $10 Amazon Gift Card
Thales1 $10 Amazon Gift Card
runfunke $10 Amazon Gift Card
coolag $10 Amazon Gift Card
Siew Hun $10 Amazon Gift Card

So, why don't you join us? It really is an encouraging way to motivate members in our VBA and Python community.


For more programming tips visit the VBA Tutorials Blog and the Python Tutorials Blog.