Problem on Excel Workbook Password

July 26, 2009 by vba excel
Filed under: Excel Tips, Excel Worksheet 
Sponsor

Excel Problem on Excel Workbook Password [Q]

I am using this code
Workbooks.Open Filename:=”I:\Aging\Month End\CMT Monthly Aging 07.xls”,
Password:=”atervse”

But I am still prompted for the excel workbook password. I want the file to open with write rights without being prompted. Where am I going wrong?

Excel Problem on Excel Workbook Password [A]
Are you providing the correct excel workbook password?

Also note that there are two types of excel workbook password arguments:

Password Optional Variant. A string that contains the password required to
open a protected workbook. If this argument is omitted and the excel workbook requires a password, the user is prompted for the password.

WriteResPassword Optional Variant. A string that contains the password
required to write to a write-reserved excel workbook. If this argument is omitted and the excel workbook requires a password, the user will be prompted for the excel workbook password.

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Live
  • MisterWong
  • Propeller
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Print this article!

Rate This Tips:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Incoming excel search terms

,excel workbook password,excel workbook reserved,excel vba open reserved workbook password,excel workbook password macro,how does one change a password on a password protected xcel spreadsheet,macro for aging in excel,macro to break excel workbook password,password excel workbook,ageing excel,aging month in excel,blank password excel not working,breaking password with macro,ca,change a workbook password,change or remove an excel workbook password,change password on exel workbook,change remove password macro excel,changed is reserved by in excel,clear password protected xcel,code break for workbook,code to break a workbook password in excel,code to break excel workbook password,code to remove password for excel workbook,code to remove workbook password,del password excel,delete a password protected excel macro,delete workbook excel if password wrong,deleting a password on an excel document by another user,email an excel worksheet protected,excel aging,excel aging month,excel changing worksheet password,excel correct password not working,excel delete if password wrong,excel formula ageing monthly,excel formula dates password,excel is reserved by,excel is reserved by change password,excel is reserved by password prompt,excel is reserved need password,excel is reserved password,excel macro open workbook with password,excel macro to break spreadsheet password,excel macro to open protected workbook,excel open password code,excel opend to wrong worksheet,excel password argument,excel password issues,excel password protection not working



Comments

Have another excel answer or questions for this problem ?
Feel free to post it here..