+ Reply to Thread
Results 1 to 2 of 2

How can I open a protected file?

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    How can I open a protected file?

    Hi,

    I have several excel files protected with the same password (ex: pwd) in a directory. I want to create a macro that is going to open each file and copy the inside information to a new workbook.

    In VBA, how can I open a excel file protected?

    Regards,
    Élio

  2. #2
    Forum Contributor
    Join Date
    01-13-2006
    Location
    Texas
    Posts
    161

    opening protected file

    Maybe I don't understand your post completely, but look at "open method" in the VBA help file. It is straightforward. The password is simply another parameter to the VBA command.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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