+ Reply to Thread
Results 1 to 1 of 1

Can't pass password through code, keeps prompting for password

Hybrid View

  1. #1
    Registered User
    Join Date
    08-15-2008
    Location
    Mass
    MS-Off Ver
    2016, 64- Bit
    Posts
    30

    Can't pass password through code, keeps prompting for password

    I am using the following line of code to open a password protected file (the password is correct). It works on my machine and not others. When I run the code on a machine that it doesn't work on, the standard password dialog box launches prompting me to enter the password with an OK or Cancel button. Any ideas?



    Workbooks.Open Filename:="C:\FINANCE\BUDGETS\2013 Budget\2013 TheBudget.xls", WriteResPassword:="Sparrow"
    Thanks in Advance
    -Alex
    Last edited by Leith Ross; 06-20-2012 at 04:16 PM. Reason: Added Code Tags

+ 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