Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Patrick Simonds...
I have a workbook which I have created as a template, which is password protected. Each week I want to be able to open that template file from within another workbook, but can not figure out how to have the VBA enter the password and then select read only. After the file is open I have some VBA code which will save it to a set directory with a title based on the date. Workbooks.Open Filename:=ThisWorkbook.Path & "\MyBook.xls", Password:="TopSecret1", ReadOnly:=True This assumes that the files are stored in the same directory. HTH Regards, Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not your usual password question! | Excel Discussion (Misc queries) | |||
VBA Password Question | Excel Worksheet Functions | |||
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. | Excel Worksheet Functions | |||
Password Loop question. | Excel Discussion (Misc queries) | |||
A password question | Excel Programming |