Problem solved!
This seems to work, basically specifying the workbook. I don'
understand the difference - I guess it's just one of those littl
mysteries.... :)
Private Sub Workbook_Open()
Dim Password
Password = "jack"
Workbooks("INVOICESv2a.XLS").Sheets("invoice list").Protec
Password:=Password
End Su
--
mercer7
-----------------------------------------------------------------------
mercer77's Profile:
http://www.excelforum.com/member.php...fo&userid=3148
View this thread:
http://www.excelforum.com/showthread.php?threadid=51164