+ Reply to Thread
Results 1 to 2 of 2

"Password to Open" workbook : automation

  1. #1
    Registered User
    Join Date
    05-12-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question "Password to Open" workbook : automation

    I have several workbooks that are password protected - meaning I have to enter a password just to open them. The password is simple, "abc".

    I get frustrated with opening spreadsheets then having to divert myself to the keyboard to type. Is there any way of automating this process within Excel? For example... I'd like to put some sort of code in my personal.xlsb, that runs every time I open a new workbook... it would essentially check if there is a 'Password to Open' situation, then it would attempt to enter the password "abc". Of course, if I ever opened a file with a different password, this code would simply fail - no big deal.

    That's my theory. But I have no idea how to put it into practice - and I've been trying for a very long time.

    Any help greatly appreciated. Thank you

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: "Password to Open" workbook : automation

    How about disabling the password prompt?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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