Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open workbook that is protected with password
Hi I have a workbook that is saved with a password.
I want to create a macro that will opne up this file because it know the password, eg: Dim password password = "letmein" Dim path Dim filename Workbook.open = path & filename 'With password! Can anyone help with this -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open workbook that is protected with password
|
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open workbook that is protected with password
Ian,
You can include the password in the Open method. E.g., Workbooks.Open Filename:=Path & Filename, Password:=Password -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "ianripping " wrote in message ... Hi I have a workbook that is saved with a password. I want to create a macro that will opne up this file because it knows the password, eg: Dim password password = "letmein" Dim path Dim filename Workbook.open = path & filename 'With password! Can anyone help with this? --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel macro to open a password protected workbook | Excel Discussion (Misc queries) | |||
Make Workbook Password protected tp open | Excel Discussion (Misc queries) | |||
Multiple workbook user's with Master workbook - all password protected | Excel Discussion (Misc queries) | |||
Open password protected workbook. | Excel Programming | |||
Open a password protected excel workbook from second workbook to fetch data using dynamic connection | Excel Programming |