+ Reply to Thread
Results 1 to 2 of 2

edit cells only with authority

  1. #1
    zhj23
    Guest

    edit cells only with authority

    Hi Freinds

    A protected worksheet with some unlocked cells which allowed users to input
    data. Once it is inputted, how could we control the subsequent editing of
    these cells only by authorised personnel/password?

    Thank you.

  2. #2
    Rowan
    Guest

    RE: edit cells only with authority

    You could use a sheet event to lock cells once they have been edited. Right
    click the sheet tab and select View Code. Paste this macro onto the code
    module for the sheet and change the password as required.

    Private Sub Worksheet_Change(ByVal Target As Range)
    ActiveSheet.Unprotect Password:="mypassword"
    Target.Locked = True
    ActiveSheet.Protect Password:="mypassword"
    End Sub

    Hope this helps
    Rowan

    "zhj23" wrote:

    > Hi Freinds
    >
    > A protected worksheet with some unlocked cells which allowed users to input
    > data. Once it is inputted, how could we control the subsequent editing of
    > these cells only by authorised personnel/password?
    >
    > Thank you.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1