Globaltechpharm
New Member
- Joined
- Oct 30, 2018
- Messages
- 6
Hello friends,
I need the code for VBA userform login to open excel using domain username and password.
So, when user open a file, userform will be activated and user need to enter username and password, domain name will be automatically detected and written in 3rd line. But if user need to enter other domain, he can enter in text box.
After that, when user clicks on command button to login, excel will verify domain username and password and if is correct then only userform will be closed. And user can do work in excel.
Such entry of login should be tracked on another worksheet "audit trail".
Hope that you understood my query.
Thanks for readin. Thank you in advance.
I need the code for VBA userform login to open excel using domain username and password.
So, when user open a file, userform will be activated and user need to enter username and password, domain name will be automatically detected and written in 3rd line. But if user need to enter other domain, he can enter in text box.
After that, when user clicks on command button to login, excel will verify domain username and password and if is correct then only userform will be closed. And user can do work in excel.
Such entry of login should be tracked on another worksheet "audit trail".
Hope that you understood my query.
Thanks for readin. Thank you in advance.