Password Protection
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Password Protection

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    62
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Even if I password protect a sheet it is possible to copy the complete sheet and paste it into a new sheet.
    Is it possible to stop this?

  2. #2
    New Member
    Join Date
    Feb 2002
    Location
    Louisiana USA
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Yes, you can copy the worksheet. The protection will be copied to. As far as I know there is not a way to prevent copying.

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    62
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    The protection isn't copied over though!

  4. #4
    New Member
    Join Date
    Feb 2002
    Location
    Louisiana USA
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Wait A sec. Go to tools, protection then choose protect workbook. That will keep any Worksheets in the Workbook from being copied.
    Also if a worksheet is protected and copied to another location even in another workbook the protection is copied also.

    [ This Message was edited by: Sam W on 2002-03-05 06:45 ]

  5. #5
    Board Regular
    Join Date
    Feb 2002
    Location
    Arizona
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You can also format the cells to "hide" formulas. If the protected sheet is copied, I don't think the hidden formulas will paste. Just the values.

  6. #6
    Board Regular
    Join Date
    Apr 2002
    Location
    Cape Town,South Africa
    Posts
    234
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Hi there friend

    Try this code in your module,alter it if you must to fit your needs

    Sub myUnLock()
    'This code will unprotect the sheet.
    Application.EnableEvents = False
    Application.DisplayAlerts = False
    ActiveSheet.Unprotect ("admin")

    'Add optional code here!

    Application.EnableEvents = True
    Application.DisplayAlerts = True

    End Sub

    ;-b

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com