ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Access to password protected workbook (https://www.excelbanter.com/excel-discussion-misc-queries/172906-access-password-protected-workbook.html)

Dr. Schwartz

Access to password protected workbook
 
I have a password protected workbook (DataFile.xls) that I want to access
from File1.xls using a VLOOKUP function. When the user opens the File1.xls I
can avoid the update links by adding this line to an beforeworkbookopen event:

Workbooks.Open Filename:= "File1.xls", UpdateLinks:=3

But then the user gets prompted to enter the password. Is it possible to use
the beforeworkbookopen event to input the password. I don't want the password
entry to be manual.




All times are GMT +1. The time now is 12:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com