+ Reply to Thread
Results 1 to 3 of 3

Protecting Cells

Hybrid View

  1. #1
    teresa
    Guest

    Protecting Cells

    Hi - how do I protect a worksheet
    but allow users to edit a range of cells:

    a1:a23, b4:b7,l2

    Thank You

  2. #2
    jonjo
    Guest

    RE: Protecting Cells

    Hallo,

    ActiveSheet.Cells.Locked = True
    Range("A1:A23,B1,B1,B4:B7,B1,L2").Locked = False
    ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True

    Greetings jonjo

    "teresa" wrote:

    > Hi - how do I protect a worksheet
    > but allow users to edit a range of cells:
    >
    > a1:a23, b4:b7,l2
    >
    > Thank You


  3. #3
    Tom Ogilvy
    Guest

    Re: Protecting Cells

    Range("a1:a23,B4:B7,L2").Locked = False

    Must be done when the worksheet is unprotected

    or do it manually.

    --
    Regards,
    Tom Ogilvy

    "teresa" <teresa@discussions.microsoft.com> wrote in message
    news:67895543-8C1A-4ED3-BE16-BC59DB6EE96E@microsoft.com...
    > Hi - how do I protect a worksheet
    > but allow users to edit a range of cells:
    >
    > a1:a23, b4:b7,l2
    >
    > 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