Consulting

Results 1 to 4 of 4

Thread: how to create login id and password

  1. #1

    Exclamation how to create login id and password

    Hi,
    Req is to create a form with loginid and password. 2 levels of users - one with admin rights and other with readonly rights.
    Please help to progress on this.

    Thanks,
    Vineela

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Just a simple form with one combox and a textbox with Passwordchar set to *, and two buttons, OK and Cancel. Pre-load the combo with user ids, and check the password on OK. Job done.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Hi XLD,
    Thank you. In continuatin with the Login id, when I enter as "User" in the workbook, all sheets in the workbook should goto "ReadOnly" mode while I enter as "admin", should be in edit mode.

    Please guide me.

    Thanks
    Vineela

  4. #4
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Wouldn't just be easier to save the workbook as readonly recommend, password to modify? that way the admin WILL have the password and the lower level user wont!

    No VBA needed, no forcing of enabling macro's...........foolproof! (well as foolproof as Excel can be)
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •