Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot open protected workbook ????

Status
Not open for further replies.

JazzyLee

Programmer
Jan 24, 2002
47
0
0
US
I added a SaveAs statement in my VBA codes for Excel 2000 with a password assigned to the Password:= and WriteRespassword:= parameters and when I execute the macro I have no problem re-opening the workbook when prompted for the password. However, when other users run my macro and create this file, we cannot open it (not on their machine nor mine). It says the password entered is invalid yet I know I am typing in the correct value. The password is saved in a cell in the Excel worksheet and is taken from there so it is the same everytime the macro runs. The file is written to a folder on our company server and I made sure this person has the security access set. Does anyone know why I might be having this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top