+ Reply to Thread
Results 1 to 5 of 5

Let outlook start by entering password

  1. #1
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Let outlook start by entering password

    Hello friends,

    Is it possible to log in to Outlook by entering a password via the userform?
    Can someone else log in to Outlook on the computer be protected with a password?
    Can we do this by writing VBA codes?
    I am not adding a sample file because I am asking it as a question.

    Thanks in advance

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Let outlook start by entering password

    What level of security do you need?

    Yes, you can use VBA to require a password when Outlook is started. That password needs to either be embedded in the VBA code, or stored in some kind of external file. The ideal situation would be to use a hashed password to avoid storing it in the clear in either place. There is no built-in hash library so that would take some research.

    However, this level of security is only good for a compliant user; it is good as a reminder to a user, but not for true security. To defeat this, the user simply has to start Outlook without enabling macros.

    (For Outlook VBA, there is really no such thing as a sample file. We prefer to get sample files for Excel or Word questions.)

    This code would go in the ThisOutlookSession module. It is just an illustration, and uses the clear password in the code instead of a hashed password in an external location.
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Let outlook start by entering password

    Hello StringJazzer

    This is exactly the shape I was looking for.

    If the password is correct when Outlook opens, Outlook will start.

    Thank you very much.


    https://imgyukle.com/i/yHDNry

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Let outlook start by entering password

    Thanks for the rep!

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

  5. #5
    Forum Contributor
    Join Date
    09-23-2020
    Location
    Turkey
    MS-Off Ver
    Office Pro Plus 2016 TR
    Posts
    140

    Re: Let outlook start by entering password

    Thanks again. I'm closing the issue by saying it's resolved as you said.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Refresh Connection without entering Password
    By AZ-XL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2018, 07:03 AM
  2. Entering ID/Password using VBA
    By kaguirre in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2017, 03:19 PM
  3. [SOLVED] entering certain cell value protected by a password
    By jomsborczyk in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 06-01-2017, 10:51 AM
  4. Start Entering Data on Row 30
    By BigPaulMc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2015, 10:18 PM
  5. Ask for password before entering data into cell
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2014, 08:57 PM
  6. UNHIDE Columns by entering password
    By meadmoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-23-2013, 10:48 AM
  7. [SOLVED] Entering text that start with Zero ?
    By toyota58 in forum Excel General
    Replies: 5
    Last Post: 08-20-2005, 09:05 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1