+ Reply to Thread
Results 1 to 4 of 4

Unlocking the VBA Project grammatically, if password is known

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Unlocking the VBA Project grammatically, if password is known

    Hello

    I am trying this code found on the web by Sidarath Rout

    Please Login or Register  to view this content.
    The post is an old one. Decided to take help from here.

    According to this code the Password should be programmatically typed into the password window,but it is is asking for a password and we have to typed it manualy ,which definately is against the real purpose of the code. Could anyone please help me to programmatically type the password into the password window without using "SendKeys" method

    Best Regards
    Imran Bhatti
    Teach me Excel VBA

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,122

    Re: Unlocking the VBA Project grammatically, if password is known

    Please Login or Register  to view this content.
    Surely changing
    Please Login or Register  to view this content.
    to your password should do the trick?
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Unlocking the VBA Project grammatically, if password is known

    Quote Originally Posted by sintek View Post
    Please Login or Register  to view this content.
    Surely changing
    Please Login or Register  to view this content.
    to your password should do the trick?
    of course I am changing the it to my password. But still requiring password.

  4. #4
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Unlocking the VBA Project grammatically, if password is known

    Some how it is now typing the password into the password window. Now want to click the "OK" button. without using "SendKeys" method

    Help is requested

    Please Login or Register  to view this content.
    Best Regards
    Imran Bhatti
    Last edited by ImranBhatti; 04-09-2017 at 03:14 AM.

+ 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. Unlocking vba project using application.username
    By Lsxtrkiller in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-27-2017, 11:56 AM
  2. Excel Unlocking VBA Project Password
    By Excel-Guru-1987 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2016, 11:43 AM
  3. Unlocking password protected VBA project
    By samrohn77 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-29-2015, 07:37 AM
  4. Unlocking a vba project within excel
    By edl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2006, 07:10 PM
  5. [SOLVED] Unlocking VBA project in Excel
    By Ramkumar Viswanathan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2006, 03:10 AM
  6. Programatically Unlocking a Project in the VBIDE
    By Jim Thomlinson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2006, 06:15 PM
  7. Unlocking a Project
    By Ralph Heidecke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2005, 12:45 PM

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