+ Reply to Thread
Results 1 to 5 of 5

partially protecting a worksheet?

  1. #1
    Registered User
    Join Date
    05-25-2006
    Posts
    22

    partially protecting a worksheet?

    I tried highlighting certain segments of my worksheet and then
    going into Tools>Protection>Protect sheet, however when I do this
    my entire sheet is protected rather than the cells I need protected,

    can anyone shed any light??

  2. #2
    Forum Contributor
    Join Date
    05-14-2006
    Posts
    104

    Protection

    Go TOOLS
    > PROTECTION
    > ALLOW USERS TO EDIT RANGES
    > CLICK NEW AND EDIT YOUR RANGES
    > THEN CLICK PROTECT WORKSHEET


    done.

  3. #3
    Registered User
    Join Date
    05-25-2006
    Posts
    22
    Nope, there is no option in tools>protection which states
    'allow users to edit ranges'

    i'm using excel 2000 if thats any concellation

  4. #4
    Forum Contributor
    Join Date
    05-14-2006
    Posts
    104

    user edit ranges

    should be there dont know why it isnt
    are you a limited user ?


    check this macro out should help
    could not be sure due to me not having 2000

    Sub ShadeProtected() 'Set cell shading for selection
    Dim cell As Range
    Application.ScreenUpdating = False
    For Each cell In Intersect(Selection, ActiveSheet.UsedRange)
    If cell.Locked Then
    cell.Interior.ColorIndex = 36 'lt.yellow
    Else '(not locked)
    End If
    Next cell
    Application.ScreenUpdating = True
    End Sub

    or try this

    ActiveSheet.Protection.AllowEditRanges.Add Title:="Range1", Range:=Range( _
    "A1:C10")
    ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
    False, AllowFormattingCells:=True, AllowFormattingColumns:=True, _
    AllowFormattingRows:=True, AllowInsertingColumns:=True, AllowInsertingRows _
    :=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _
    AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _
    AllowUsingPivotTables:=True

    might not work but you can give it a shot

  5. #5
    Guest

    Re: partially protecting a worksheet?

    Hi
    Select the cells you want to be able to edit and go to Format/Cells. On the
    last tab (Protection) unlock the cells. Now when you protect your sheet,
    only the cells that are unlocked can be edited.

    Hope this helps.
    Andy.

    "Drummy" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I tried highlighting certain segments of my worksheet and then
    > going into Tools>Protection>Protect sheet, however when I do this
    > my entire sheet is protected rather than the cells I need protected,
    >
    > can anyone shed any light??
    >
    >
    > --
    > Drummy
    > ------------------------------------------------------------------------
    > Drummy's Profile:
    > http://www.excelforum.com/member.php...o&userid=34780
    > View this thread: http://www.excelforum.com/showthread...hreadid=548866
    >




+ 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