Consulting

Results 1 to 10 of 10

Thread: Username and Password

  1. #1

    Question Username and Password

    Can Excel files be configured to request a username and password when executed?

    What I have.
    I have had designed a Excel workbook (called Tracker) to track document movement from office to office/ person to person. Tracker is configured as a shared file on a company server. Tracker can tell me who by name has made notations ie. date and person who received the document. This has been accomplished by giving access by username. For example; UserA signs on to his computer as UserA. Then executes Tracker via a shortcut to Tracker. Any entries he makes are attributed to UserA. However if UserB makes annotations on Tracker executed by UserA the changes are attributed to UserA. I could have UserA sign off his computer and then have UserB sign on, but this is time consuming and wastes UserA's time while UserB is annotating Tracker.

    My problem.
    I have some field/warehouse users that pick up documents at a location separate from their work area. They regularly 'forget' to log the documents when they return to their work area.

    What I want.
    I desire them to annotate Tracker at the location they retreive the documents to prevent them 'forgetting' to log the documents when they return to their work location.

    Gunner...

  2. #2
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    you could track them by machine name instead using [VBA]environ("computername") [/VBA]regards,
    Simon
    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)

  3. #3
    How is machine name going to help me determine which person signed the tracker?

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    If you allow people to use other people's logged in sessions, you will get this problem. Can't see how it can be avoided.

  5. #5
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    The machine name won't help you actually track who signed, but with the username and machinename you will be able to pin it down to a location, and that may help you in tackiling the problem...........there is no way you can prevent someone from logging in and allowing someone else to use thier login other than only allowing certain things to be signed for by a specific login!

    Regards,
    SImon
    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)

  6. #6
    On another site I found this, which I believe is what I want.
    Gunner...

  7. #7
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Well, it must be us then because I would never have guessed from your question that you wanted to just stop access unless they passed a simple password test.

  8. #8
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Oh, and what a good idea, publishing the passwords on a worksheet!

  9. #9
    Thanks all. Good Bye.

  10. #10
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Just an added note before you go!, that workbook still doesnt cure your problem......try this idiot test....open the workbook and enter the username and password.....walk away from the machine......now when you return pretend you are someone else and start using the program!


    Get it?..............if someone has loged on and left it on then anyone can use it......so still doesnt cure your probem!

    Regards,
    Simon
    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
  •