+ Reply to Thread
Results 1 to 7 of 7

Excel workbook ask for password when open

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Excel workbook ask for password when open

    Hi,

    I know I can lock the excel workbook Tool/option/security or when i save general option but is there way lock with VBA ? so is there macro when you tty to open file it ask for password to open.


    Thanks
    RR

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel workbook ask for password when open

    You can apply passwords through VBA, but excel's security is notoriously weak and easy to get around
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Excel workbook ask for password when open

    Sorry, not quite understand. is there way to do it or not ? if yes then how ?

  4. #4
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Excel workbook ask for password when open

    Any suggestion ?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Excel workbook ask for password when open

    Yes this can be done, but it will not be very secure. I am not able to do it, but many other members can, I am just letting you know that it will not be very secure, anyone with some VBA knoledge may be able to get around it

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Excel workbook ask for password when open

    Bumped up ...... ???
    Last edited by robrobet; 10-30-2013 at 11:43 PM.

  7. #7
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    165

    Re: Excel workbook ask for password when open

    Anyone else able to help with it ?

+ 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. Open Workbook if closed, keep open if open, insert password
    By jwahl16 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-09-2013, 04:09 PM
  2. [SOLVED] Password array to open all password protected workbook in a folder
    By rename in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2012, 05:06 AM
  3. How to Save As a password-to-open workbook without a password?
    By ncalkins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2012, 07:02 PM
  4. how to open workbook without password
    By dipaksolanki in forum Excel General
    Replies: 1
    Last Post: 01-22-2012, 09:44 AM
  5. Open 2nd workbook that has password
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-15-2007, 08:47 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