Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting Sheet with Password
Hi:
I have a sheet that I copy and past with a macro. The original shee is protected with a password but when the macro copies and pastes int another sheet, it is no longer protected. Is there a way to pass a password to protect the new sheet??? thanks -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting Sheet with Password
Couldn't you just password protect it after you did the paste?
Or do you mean you want to use the same password--and it's not available to you? "halem2 <" wrote: Hi: I have a sheet that I copy and past with a macro. The original sheet is protected with a password but when the macro copies and pastes into another sheet, it is no longer protected. Is there a way to pass a password to protect the new sheet??? thanks! --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting Sheet with Password
the spreadsheet will be used by 15 different users in 15 differen
geographical locations. I'm trying to avoid having any of them chang the sheet. I am the one passwording the sheet -- Message posted from http://www.ExcelForum.com |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting Sheet with Password
If you're the one applying the password and writing the code, then you should be
able do your stuff and protect the worksheet. dim wks1 as worksheet dim wks2 as worksheet set wks1 = worksheets("sheet1") set wks2 = worksheets("sheet2") wks1.range("a1:b9").copy _ destination:=wks2.range("a1") wks2.protect password:="hi" I guess you didn't even need to unprotect your original worksheet to copy the data. (I misunderstood that portion of your question.) "halem2 <" wrote: the spreadsheet will be used by 15 different users in 15 different geographical locations. I'm trying to avoid having any of them change the sheet. I am the one passwording the sheet. --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I forget the password of protecting sheet, I need to unprotect it | Excel Discussion (Misc queries) | |||
Hide cell formula without password protecting sheet | Excel Discussion (Misc queries) | |||
password protecting a column for data entry in a sheet, how? | Excel Worksheet Functions | |||
Excel (Office 2007 B2TR) -- Password Protecting A Sheet -- Character Limit ? | Excel Discussion (Misc queries) | |||
Sheet Protecting password | Excel Discussion (Misc queries) |