Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open Workbook - Password
Got this macro, but it still prompts for password.
Any clues as to why? Sub Macro7() ' ' Macro7 Macro Workbooks.Open Filename:="X:\FHI Share\pcp\NEW PCP DATA.xls", PASSWORD:="pcp123" ActiveWorkbook.Save ActiveWindow.Close End Sub |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open Workbook - Password
May be, the password for "NEW PCP DATA.xls" is not "pcp123". Are you sure it
is "pcp123"? "J.W. Aldridge" wrote: Got this macro, but it still prompts for password. Any clues as to why? Sub Macro7() ' ' Macro7 Macro Workbooks.Open Filename:="X:\FHI Share\pcp\NEW PCP DATA.xls", PASSWORD:="pcp123" ActiveWorkbook.Save ActiveWindow.Close End Sub |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open Workbook - Password
Super certain. (I created it and use it every hour.)
any clues? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open Workbook - Password
Does the workbook have passwords for both Open and Modify? If you entered
passwords for both, then your macro is only supplying the first one. You may also need to supply the WriteResPassword parameter in the Open method. -- Regards, Bill Renaud |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Password to open workbook | Excel Discussion (Misc queries) | |||
Open workbook with password. | Excel Programming | |||
need to open my workbook not asking for password so i can do so | Excel Discussion (Misc queries) | |||
Open workbook with password in VBA | Excel Programming | |||
Open a password protected excel workbook from second workbook to fetch data using dynamic connection | Excel Programming |