Access to password protected workbook

D

Dr. Schwartz

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top