tldr; Password protected workbooks require a typed password on colleagues PC but not mine. I have a macro which runs through a mastersheet linking to external workbooks. The process is:
- it opens the workbook via link in cell
- iterates on the workbook
- save and close
- onto next in list
The workbooks which are opened all have the same password and using:
Workbooks.Open
with
Password:="password", WriteResPassword:="password"
works fine on my PC but the macro requires the password to be typed when I try running on a colleagues PC.
Google hasn't been much help so far. Could anyone help explain why the code types the password on mine but somehow doesn't on a different PC please. All help is appreciated greatly.