How to create User Login Form in VBA and Excel (Step by Step Guide)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 136

  • @DiwanSihrALbayan
    @DiwanSihrALbayan 2 ปีที่แล้ว

    from egypt thank you very much

  • @RajaGiri_tvpm
    @RajaGiri_tvpm 2 ปีที่แล้ว

    I like your teaching and your video , I learn from your video and try to create . Thank you 👍

  • @JanusTheRealDeal
    @JanusTheRealDeal 8 หลายเดือนก่อน

    Nice and useful video! However, what if I need to password protect only some fields of a userform (like an ID for instance), to prevent unauthorised editing of sensible data?

  • @sallytong241
    @sallytong241 2 ปีที่แล้ว +1

    Dear Sir, Thank you for your video. I have one tiny question about opening the form. I have encountered a problem before the login form show up. The application shows up first in just one second then the login form. Is it possible not to show the entire application before the login form show up?

  • @SimplifiedTuts
    @SimplifiedTuts 2 ปีที่แล้ว

    Does is possible to verify login credentials by online server database.

  • @hakimj3995
    @hakimj3995 6 หลายเดือนก่อน

    Hi Dilip, thanks for your useful & clear explanations.
    May you kindly forward the codes regarding the following: NEED TO CAPTURE THE USER ID FROM THE LOGIN FORM TO AUTOMATICALLY INPUT IT INTO A DATA ENTRY FORM. Thanks,,,

  • @durgeshmishra3986
    @durgeshmishra3986 4 ปีที่แล้ว +2

    Thanks Mr Dileep, Finally i have done, Thanks a lot

  • @astonduncan1263
    @astonduncan1263 3 ปีที่แล้ว +1

    It worked! thank you

  • @RASHiDALi143
    @RASHiDALi143 2 ปีที่แล้ว

    Thanks Very Good tutorial,

  • @faramarzakhash
    @faramarzakhash 8 หลายเดือนก่อน

    Thanks a lot for this video.
    This video very helpful for me......

    • @thedatalabs
      @thedatalabs  8 หลายเดือนก่อน

      Thanks for your feedback!

  • @dustyarcher
    @dustyarcher 2 ปีที่แล้ว

    Thank you buddy very useful 💕 it!

  • @mumbapatrick8958
    @mumbapatrick8958 4 ปีที่แล้ว +1

    These tutorials are splendid and they have helped me big time. Thumbs up to all of you.

  • @muychamnan9993
    @muychamnan9993 4 ปีที่แล้ว +1

    Please sharing how to disable the control box (x) on the upper right side of the user form.

  • @sonnykhak1833
    @sonnykhak1833 3 ปีที่แล้ว

    Good video. May God bless you.

  • @robertspidey8136
    @robertspidey8136 3 หลายเดือนก่อน

    Very helpful. Thanks brother ❤

  • @garyhorne1134
    @garyhorne1134 2 ปีที่แล้ว

    This is great thanks. Is there a way of seeing who has logged in to view the worksheet. Thanks

  • @hakeemzahardi9207
    @hakeemzahardi9207 3 ปีที่แล้ว

    The userform design is very nice and modern

  • @Deepak_Singh1008
    @Deepak_Singh1008 4 ปีที่แล้ว +2

    Hello would appreciate you if you make a small video on Excel VBA iif function.

  • @landgegaile6957
    @landgegaile6957 3 ปีที่แล้ว +1

    thank you very much it helps me a lot. that was awesome.

  • @CristianGonzalez-ly8nu
    @CristianGonzalez-ly8nu 5 หลายเดือนก่อน

    Hi Dilip, congrats working fine but I run through Linux and surprised that works but the login it's optional, I mean you can closing window or enter credentials, Do you know that? 🤯 In that case if you open a workbook in Linux you avoid this security. I hope you can answer me.thanks alot

  • @NR-mh9zj
    @NR-mh9zj 4 ปีที่แล้ว +2

    Wonderful👌keep continue ur service👍

  • @kofimaracktv
    @kofimaracktv ปีที่แล้ว +1

    Hello i have designed the frontend but the validation is not working

  • @jaspergapasin
    @jaspergapasin 4 ปีที่แล้ว

    Very Nice 👍👍👍 and clear tutorial

  • @akhilsoman8167
    @akhilsoman8167 3 ปีที่แล้ว +1

    Hi The DataLabs, Thanks a lot for this tutorial and effort. As always, very useful. I used this to create a login page for the user form I made based on your previous videos. As you mentioned in the end of the video, the login page fires up only when the user clicks the "enable macro" message in excel. But before macro is enabled, although the Data entry form icon in the sheet 1 is not usable, the user can easily open the Database in the 2nd sheet and make changes in the entries. Is there a way to allow access to both Data entry form sheet (Sheet 1) and the Database (Sheet 2) sheet only after the user enters the correct credentials? If yes, what changes in the code (and where? e.g, user form, worksheet, module coding page) should it be done? It will be really helpful if you could provide a response. Thanks

  • @kailee6823
    @kailee6823 3 ปีที่แล้ว

    thank you for this tutotial, by the way is there a way to bypass this login to open the workbook?

  • @edoundema4426
    @edoundema4426 2 ปีที่แล้ว

    good morning pleas how did you link that user form with your table

  • @paolo-jaycamaing7714
    @paolo-jaycamaing7714 3 ปีที่แล้ว

    Does it work when the Excel file is uploaded and shared in Google Drive?

  • @fragglegabo8427
    @fragglegabo8427 4 ปีที่แล้ว +2

    Hi,
    Thanks for this nice little tutorial.
    I have a question about the Logins.
    Is it possible to create an Login tracker how shows me witch user was at what date and time logged in ?
    Thanks in advance
    Bernhard

  • @anjalinairu7346
    @anjalinairu7346 4 ปีที่แล้ว

    Hey admin very use full vedio

  • @SameerAhmed-si2sg
    @SameerAhmed-si2sg 2 ปีที่แล้ว

    Thanks a lot for this tutorial and effort. As always, very useful. Great bro

  • @charlesagyepong233
    @charlesagyepong233 2 ปีที่แล้ว

    thank you for your video. how do i get the icons used in the video

  • @lamontbutler4590
    @lamontbutler4590 4 ปีที่แล้ว

    Excellent Instructor

  • @deepamanmappy
    @deepamanmappy 3 ปีที่แล้ว

    I learn a lot thanks

  • @abhishekdas8503
    @abhishekdas8503 3 ปีที่แล้ว

    Superb,I added this feature in the dynamic data Entry Form,Thank you

  • @sanjeevkawan1668
    @sanjeevkawan1668 4 ปีที่แล้ว +1

    Nice vedio....Thanks for the coding .... keep going

  • @MohamedAboAbdo03
    @MohamedAboAbdo03 11 หลายเดือนก่อน

    Thank you so much Sir

  • @Chikulibradoo
    @Chikulibradoo ปีที่แล้ว

    We wanted to create a multiple access app with use how can do ?

  • @tonitoni9368
    @tonitoni9368 2 ปีที่แล้ว

    Very good video
    Is it possible that several users can log in using their own account?
    thanks

    • @thedatalabs
      @thedatalabs  2 ปีที่แล้ว +1

      Yes, that's possible and based on project type. Thanks!

  • @kayjames2784
    @kayjames2784 3 ปีที่แล้ว

    Great tutorial. How do we create usernames and passwords for more than one person - assuming two, three or more people will work on the userform, add and modify information in it. Your kind help very much appreciated.

  • @franklinbabuparaiayyar6494
    @franklinbabuparaiayyar6494 3 ปีที่แล้ว +1

    Hi! Dilip!
    This is an excellent tutorial. It's very much useful.greetngd to you. Superb 👍👏👏👏👌😎
    & Also some doubts are there. Can I ask you? Dilip

    • @deepakgautam8958
      @deepakgautam8958 2 ปีที่แล้ว

      I emailed but did not get any response for a month still waiting. I did one Data Entry register but have just minor issue I could not able to save file when I click on save click button. Still fighting for it🙁 really want to save the entry made but all click button work except save button😒😒

  • @jayprildejesus8407
    @jayprildejesus8407 4 ปีที่แล้ว

    thank you bro. you make my work much easier and safe

  • @smokybench8540
    @smokybench8540 4 ปีที่แล้ว

    Thanks!!! ...your tutorial was very helpful

  • @nikhilbhor3933
    @nikhilbhor3933 4 ปีที่แล้ว +1

    Nice video sir, I am going to add this feature to my userform

    • @nikhilbhor3933
      @nikhilbhor3933 4 ปีที่แล้ว

      Sir my userform runs a little slow while adding data to worksheet, I have lots of things going on while doing it, like sorting, copying and pasting the data, can you help me to fix it?

  • @caianevans7853
    @caianevans7853 2 ปีที่แล้ว

    This was a great help, much appreciated!

  • @douwefennema2437
    @douwefennema2437 3 ปีที่แล้ว

    Thank you for sharing. It is very interesting to find out this possibility. Is it possible to create a login connected to a powerpoint presentation where students login, read the pages and before exiting the powerpoint it saves where they left, so that the next time they login it will continue from the last page? I make very long powerpoint... sometimes up to 120 pages.
    Kind regards, Douwe

  • @alhassanmusah7242
    @alhassanmusah7242 3 ปีที่แล้ว

    EXCELLENT TUTORIAL BEEN FOLLOWING UP EVERYTIME

  • @abhay6276
    @abhay6276 3 ปีที่แล้ว +1

    Why do we need to creat login page or data entry if there is Google form...anyone can tell me.? In the Google form we can easily collecte data and it user-friendly too..

  • @aryankumar9784
    @aryankumar9784 4 ปีที่แล้ว

    Really nice 👌👌 video

  • @ssedits4338
    @ssedits4338 ปีที่แล้ว

    Hi sir you add module 1 code but we can't see the full code pls tell the solution

  • @yopiyuandani8710
    @yopiyuandani8710 4 ปีที่แล้ว +2

    Hi, thx for this tutorial, pls develop document control system for oil & migas Project or construction Project

    • @thedatalabs
      @thedatalabs  4 ปีที่แล้ว +1

      Please share the requirements with us. You can find the contact details in description box. Thanks!

  • @terabergconsultants9697
    @terabergconsultants9697 2 ปีที่แล้ว

    Hi, incase if i want login for each sheet, is that possible ?? could you share the codes pls...

  • @martin_explore
    @martin_explore 4 ปีที่แล้ว +1

    Nice, please add code if userform is open, then the worksheet is hidden, thanks

  • @tarunsamanta9919
    @tarunsamanta9919 2 ปีที่แล้ว

    How to link this username to the database excel sheet submitted by column

  • @alessioframba1023
    @alessioframba1023 4 ปีที่แล้ว

    First of all, nice video;
    secondly, I have a question. I have userform in excel which asks user to enter user id and password. I want a to have "Remember Me" check button on my userform which will remember user details and he wouldn't have to enter user id and password again and again. Can please provide me with an example code. Thanks

  • @Thecomputerguide
    @Thecomputerguide 3 ปีที่แล้ว

    can i make EXCEL LOGIN FORM USING VBA in excel file, in which i already done some VBA codes before.

    • @thedatalabs
      @thedatalabs  3 ปีที่แล้ว

      Sure, you can add it in existing project as well. Thanks!

    • @Thecomputerguide
      @Thecomputerguide 3 ปีที่แล้ว

      @@thedatalabs but how I can add...
      Means I have created a STUDENT REGISTERATION FORM using VBA now my requirements is that excel sheet open after login access.

  • @สองล้อคู่ใจ-ฝ5ม
    @สองล้อคู่ใจ-ฝ5ม 2 ปีที่แล้ว

    I have multiple users. How do I add them?

  • @EchoVibeagain
    @EchoVibeagain ปีที่แล้ว

    After successfully done this job....the excel file did not close .what should I do

  • @alcon3053
    @alcon3053 3 ปีที่แล้ว

    I have a Developer tab, but no icons in it are available, how can I make them available to use it?

  • @kaustavnath8898
    @kaustavnath8898 3 ปีที่แล้ว

    But how do i control Log In Ids.... I may have 10 Data Entry Operators then How do I control the access.

  • @hajarasmidar2311
    @hajarasmidar2311 3 ปีที่แล้ว

    Hi sir, what a wonderful sharing over here. Can you do a tutorial on how to put in a file attachment for the data entry form.

  • @AbhishekKumar-dancevideos
    @AbhishekKumar-dancevideos 3 ปีที่แล้ว

    Hello Very nice and really like the way of explaining the thinfs in details. However I would like to know that I have severak module in my worksheets so where should I write "Public LoginInstance As Integer". As you have 1 module only . Thanks in advance

    • @thedatalabs
      @thedatalabs  3 ปีที่แล้ว +1

      Thanks for your feedback! You can write in any of the module. It's global variable.

    • @AbhishekKumar-dancevideos
      @AbhishekKumar-dancevideos 3 ปีที่แล้ว

      @@thedatalabs Yes I have done in same Workbook. It's working fine... Many thanks and really appreciate your work. One important thing would like to discuss with you that I have 1 more form and VBA code for hiding all the sheets if in case someone use Shift key or bypass the macro. So my macro now ask for Login I'd and then one more form to view worksheets or exit. Then user can view the worksheet. If user bypass the macro the user will not be able to view the sheets. So I want to club both the macro... If you can let us know then we can discuss further.
      Thanks it can help your other subscribers too 🙏👍

  • @aryankumar9784
    @aryankumar9784 4 ปีที่แล้ว

    Can you please tell me if we want to track time of login and logout but it should be added in login button...
    Please help..😔😔

  • @renudesai2532
    @renudesai2532 4 ปีที่แล้ว

    Hello sir, if we develop using this can multiple user use this application at the same.

    • @thedatalabs
      @thedatalabs  4 ปีที่แล้ว

      Yes, please watch this tutorial. Thanks!
      th-cam.com/video/6LsUmstJOX8/w-d-xo.html

  • @vitaljunior7237
    @vitaljunior7237 4 ปีที่แล้ว

    please can you tell me on your site download these images

  • @carloscesar3922
    @carloscesar3922 3 ปีที่แล้ว

    Hi! where did u get ur pictures from?

  • @saujanyasubedi5302
    @saujanyasubedi5302 2 ปีที่แล้ว

    If user cross the login form, the sheet will automatically get opened despite of seeking password. Please suggest how to solve this issue

  • @auwalamshi8980
    @auwalamshi8980 ปีที่แล้ว

    Hello, I followed the code but I locked myself out, and the system is not recognizing/accepting the password.

  • @mujeebn4080
    @mujeebn4080 4 ปีที่แล้ว +8

    Sir please develope School managment system with monthly fee collection.

  • @sudiptamondal6424
    @sudiptamondal6424 2 ปีที่แล้ว

    how to setup restrict access using pc ip address or pc user name

  • @shahwanichannel9121
    @shahwanichannel9121 3 ปีที่แล้ว

    EXCELLENT

  • @gilbertson372
    @gilbertson372 3 ปีที่แล้ว

    Thanks bro 💖

  • @michaelsvenson2456
    @michaelsvenson2456 ปีที่แล้ว

    There where some problems with the code so now I can´t open my file, even with the password, any way around it ?? 🙂

  • @ibrahimmuhammad9509
    @ibrahimmuhammad9509 4 ปีที่แล้ว +1

    nice

  • @sazibahmed4563
    @sazibahmed4563 4 ปีที่แล้ว

    you are awesome boss. i like you. stay safe.

  • @jeannettie7962
    @jeannettie7962 4 ปีที่แล้ว

    Useful video. Keep it up!

  • @meatloaf8055
    @meatloaf8055 2 ปีที่แล้ว

    Can I have a copy of module 1 code

  • @devendardev9497
    @devendardev9497 3 ปีที่แล้ว

    Sir I'm getting
    Run-time error '424':
    Object required
    This is showing under WORKBOOK

  • @kenbelen3470
    @kenbelen3470 4 ปีที่แล้ว

    using the same form, how to grant access to a user on their data entry only?

  • @ajuvycostawailia3980
    @ajuvycostawailia3980 2 หลายเดือนก่อน

    Hi sir how if we forgot password and can't open anymore..how to solve it...

    • @thedatalabs
      @thedatalabs  2 หลายเดือนก่อน

      You can open the Excel file without enabling macro and then unhide the worksheet to know the forgotten key.

  • @roycetagram
    @roycetagram 2 ปีที่แล้ว

    Excuse me which excel version has developer

    • @thedatalabs
      @thedatalabs  2 ปีที่แล้ว +1

      It's 2016

    • @roycetagram
      @roycetagram 2 ปีที่แล้ว

      @@thedatalabs thank you sir

  • @alializadeh8195
    @alializadeh8195 ปีที่แล้ว

    Thanks

  • @dorjitshering9325
    @dorjitshering9325 3 ปีที่แล้ว

    Thank you very much for the codes but I have one problem. How to close the login form ? Suppose if someone accidentally open it and doesn't know the password then the login form won't close, it stays there on the computer screen. (I have disabled the X button to protect my worksheet)

    • @AbhishekKumar-dancevideos
      @AbhishekKumar-dancevideos 3 ปีที่แล้ว

      As you can see in the tutorial itself Mr Dilip has already explained there. A place where CmdClear is explained you can write the code for closing the file. It's written in video. You have to write by pausing the video. Watch carefully you will understand. You can also add an extra close command button.

  • @caianevans7853
    @caianevans7853 2 ปีที่แล้ว

    I put the password and user in and click the button but nothing happens?

  • @abcd2-k4s
    @abcd2-k4s 4 ปีที่แล้ว

    Sir I think it is more useful if user can create own id and password his/ her choice .id and password save in computer head

  • @m-squaredcontractors9720
    @m-squaredcontractors9720 4 ปีที่แล้ว

    Thanks for an awesome tutorial. Do you do consultation for a fee?

  • @dema-3000
    @dema-3000 4 ปีที่แล้ว

    When I open the excel file, Excel is asking me to Enable Contect (same like on the video). But if I don't enable it, then I can do everything and no need to login. If I login, then I don't see the sheets... ?!?

  • @shawn83823
    @shawn83823 3 ปีที่แล้ว

    hey friend im stuck when i try to debug it give me a error on LoginInstance what can it be ?

    • @simischaeffer8506
      @simischaeffer8506 3 ปีที่แล้ว

      Maybe Option Explicit you must delete Option Explicit

  • @abdul-latifahmed3215
    @abdul-latifahmed3215 4 ปีที่แล้ว

    Not working for me. Getting error. Maybe, I have to try more.
    Thanks anyway for the tutorial video.

  • @melusikeith4886
    @melusikeith4886 3 ปีที่แล้ว

    why is it when l save my project when l am done coding and l close excel, when l open it again its just blank, no login or whatsoever

    • @thedatalabs
      @thedatalabs  3 ปีที่แล้ว

      Please save this file with macro enabled extension (.XLSM) to retain the VBA code. Thanks!

  • @AjaySingh-ll5qw
    @AjaySingh-ll5qw 4 ปีที่แล้ว

    Really nice

  • @joven82
    @joven82 4 ปีที่แล้ว +1

    Tnx sir!

  • @mallikarjunakambham7346
    @mallikarjunakambham7346 3 ปีที่แล้ว

    Login instance is not working... can you please explain it again.

  • @dywaneturner7030
    @dywaneturner7030 2 ปีที่แล้ว

    The Focus Mode, would not Release

  • @jralfmr
    @jralfmr 3 ปีที่แล้ว

    I tried create one using this video, however everytime I try to login using the same username and password it just ends up not accepting the password. The invalid login credentials kept on popping. I even double checked the codes and tried changing it but it keeps denying access to the sample file I am experimenting with. How can I fix that?

    • @thedatalabs
      @thedatalabs  3 ปีที่แล้ว

      Please check the condition which you are using to match the credentials. Share the line of code so that we can go through and suggest you the fix. Thanks!

    • @jralfmr
      @jralfmr 3 ปีที่แล้ว

      @@thedatalabs I found out the cause. I used user instead of username..

    • @thedatalabs
      @thedatalabs  3 ปีที่แล้ว

      Great, please subscribe our TH-cam channel. Thanks!

  • @taylorwhitefall5408
    @taylorwhitefall5408 4 ปีที่แล้ว

    Could u do this on statusbar like that "Your login attempt:2"

    • @thedatalabs
      @thedatalabs  4 ปีที่แล้ว +1

      Please use the below code. Replace the 'LoginAttempt' with the variable used in code.
      Application.Statusbar="Your login attempt:" & LoginAttempt
      Write the below code to clear the Statusbar before exiting from Sub Procedure.
      Application.Statusbar=False
      Thanks!

  • @moubarakhalidou6418
    @moubarakhalidou6418 3 ปีที่แล้ว

    Genius

  • @robertspidey8136
    @robertspidey8136 3 หลายเดือนก่อน

    ❤❤

  • @vishalhegade1690
    @vishalhegade1690 3 ปีที่แล้ว

    Need computer service center excel sheet

  • @dywaneturner7030
    @dywaneturner7030 2 ปีที่แล้ว

    I Follow you code to the letter, and I got LOCK OUT OF MY FILE, THANKS!

  • @laxmanp3156
    @laxmanp3156 6 หลายเดือนก่อน

    💌