Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have created a workbook with about 50 sheets in it. How do I make it
completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
First, a word about Excel protection. You state that you want your file to
be "completely secure". That's not really possible. It's fairly common knowledge that Excel files do not have "bullet proof" security. The general intent of Excel passwords is to prevent accidental meddling and provide somewhat of an obstacle to intentional meddling. It's akin to locking the door to your home but not barricading the windows. Any motivated person with fairly unimpressive technical skills could find a way in with only moderate effort. Now, if you're looking to cut down on the number of steps involved in protecting 50 sheets, their contents, and the workbook structure, here's what I do: I make a Lock/Unlock workbook who's only function is to eithe lock-up or unlock the workbook and sheet of the Excel file. Then keep that file in a safe place. Does that help? *********** Regards, Ron XL2002, WinXP "Min" wrote: I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Ron,
You said ..."I make a Lock/Unlock workbook who's only function is to eithe lock-up or unlock the workbook and sheet of the Excel file." How do I do this? "Ron Coderre" wrote: First, a word about Excel protection. You state that you want your file to be "completely secure". That's not really possible. It's fairly common knowledge that Excel files do not have "bullet proof" security. The general intent of Excel passwords is to prevent accidental meddling and provide somewhat of an obstacle to intentional meddling. It's akin to locking the door to your home but not barricading the windows. Any motivated person with fairly unimpressive technical skills could find a way in with only moderate effort. Now, if you're looking to cut down on the number of steps involved in protecting 50 sheets, their contents, and the workbook structure, here's what I do: I make a Lock/Unlock workbook who's only function is to eithe lock-up or unlock the workbook and sheet of the Excel file. Then keep that file in a safe place. Does that help? *********** Regards, Ron XL2002, WinXP "Min" wrote: I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
There is no such thing as complete security. For information on improving
security of Excel spreadsheets have a look at http://www.1001solutions.co.uk/desig...preadsheet/pdf Regards. Bill Ridgeway Computer Solutions "Min" wrote in message ... I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Please could you tell me how to make it as secure as possible - enough to
prevent the average user getting into! "Bill Ridgeway" wrote: There is no such thing as complete security. For information on improving security of Excel spreadsheets have a look at http://www.1001solutions.co.uk/desig...preadsheet/pdf Regards. Bill Ridgeway Computer Solutions "Min" wrote in message ... I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Since you indicated that you have "code" in your workbook, I'm guessing that
you have some vba skills. Here's something to get you started..... Copy this code into the General Module of a NEW workbook and save the workbook separately. Note: you'll need to change the workbook name and password constants to match your situation. '-------------Start of Code------------- Sub UnlockMyWkbkAndSheets() Const strPwd As String = "password" Const strWkbk As String = "MyWorkbook.xls" Dim sSht As Worksheet Application.ScreenUpdating = False With Workbooks(strWkbk) If .ProtectStructure = True Then On Error Resume Next .Unprotect Password:=strPwd If Err.Number < 0 Then MsgBox "Workbook: " & .Name & " could not be unprotected" End If End If For Each sSht In .Worksheets If sSht.ProtectContents Then On Error Resume Next sSht.Unprotect Password:=strPwd If Err.Number < 0 Then MsgBox "Sheet: " & sSht.Name & " could not be unprotected" End If End If Next sSht End With End Sub Sub LockMyWorkbookAndSheets() Const strPwd As String = "password" Const strWkbk As String = "MyWorkbook.xls" Dim sSht As Worksheet Application.ScreenUpdating = False With Workbooks(strWkbk) For Each sSht In .Worksheets If sSht.ProtectContents = False Then sSht.Protect Password:=strPwd End If Next sSht If .ProtectStructure = False Then .Protect Password:=strPwd End If End With End Sub '-------------End of Code------------- When BOTH workbooks are open. To UNLOCK the workbook, run the UnlockMyWkbkAndSheets code. To LOCK the workbook, run the LockMyWkbkAndSheets code. Is that something you can work with? *********** Regards, Ron XL2002, WinXP "Min" wrote: Thanks Ron, You said ..."I make a Lock/Unlock workbook who's only function is to eithe lock-up or unlock the workbook and sheet of the Excel file." How do I do this? "Ron Coderre" wrote: First, a word about Excel protection. You state that you want your file to be "completely secure". That's not really possible. It's fairly common knowledge that Excel files do not have "bullet proof" security. The general intent of Excel passwords is to prevent accidental meddling and provide somewhat of an obstacle to intentional meddling. It's akin to locking the door to your home but not barricading the windows. Any motivated person with fairly unimpressive technical skills could find a way in with only moderate effort. Now, if you're looking to cut down on the number of steps involved in protecting 50 sheets, their contents, and the workbook structure, here's what I do: I make a Lock/Unlock workbook who's only function is to eithe lock-up or unlock the workbook and sheet of the Excel file. Then keep that file in a safe place. Does that help? *********** Regards, Ron XL2002, WinXP "Min" wrote: I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have a look at http://www.1001solutions.co.uk/desig...preadsheet.pdf
Regards. Bill Ridgeway Computer Solutions "Min" wrote in message ... Please could you tell me how to make it as secure as possible - enough to prevent the average user getting into! "Bill Ridgeway" wrote: There is no such thing as complete security. For information on improving security of Excel spreadsheets have a look at http://www.1001solutions.co.uk/desig...preadsheet/pdf Regards. Bill Ridgeway Computer Solutions "Min" wrote in message ... I have created a workbook with about 50 sheets in it. How do I make it completely secure? I want it to be read only, nothing at all editable and preferably for the code not to be viewed. I need to be able to edit it on a fairly regular basis so I don't particularly want to have to enter a different password for each sheet. Is this possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
security of workbook | Excel Discussion (Misc queries) | |||
Excel Security for Shared Workbook | Excel Discussion (Misc queries) | |||
How do I identify who placed security on a workbook? | Excel Worksheet Functions | |||
sheet and workbook security | Excel Discussion (Misc queries) | |||
Disable macro security for selected workbook | Excel Discussion (Misc queries) |