B
Big Chris
Happy Saturday!
Please can anyone help. I've done the searches and can't find an
clues...I think maybe my question is just too simple....
I am getting a macro to password protect a worksheet with a password i
a specif cell in another open workbook.
The code:
ActiveSheet.Protect Password:=Sheets("sheet1").Range("a1").Value
....works perfectly for inputting the password from within the sam
workbook, but I'm blowed if I can find the code for referencing
specific cell in a different open workbook.
Logic tells me it should be
ActiveSheet.Protec
Password:=workbook("book9").Sheets("sheet1").Range("a1").Value
...but that doesn't work.
Any help would be very much appreciated.
Have a good weekend
Please can anyone help. I've done the searches and can't find an
clues...I think maybe my question is just too simple....
I am getting a macro to password protect a worksheet with a password i
a specif cell in another open workbook.
The code:
ActiveSheet.Protect Password:=Sheets("sheet1").Range("a1").Value
....works perfectly for inputting the password from within the sam
workbook, but I'm blowed if I can find the code for referencing
specific cell in a different open workbook.
Logic tells me it should be
ActiveSheet.Protec
Password:=workbook("book9").Sheets("sheet1").Range("a1").Value
...but that doesn't work.
Any help would be very much appreciated.
Have a good weekend