+ Reply to Thread
Results 1 to 5 of 5

Allow users to edit range ERROR

  1. #1
    blommerse@saz.nl
    Guest

    Allow users to edit range ERROR

    Hello,

    I've a problem, I have a macro in my sheet that custom sort by hitting
    a box.

    Now I want to allow users to edit range so I have to protect my sheet.
    When I do this thing, my macro said there's an error in it.
    How can I allow users to edit range and my macra still working. Can
    anyone help me and let my know how???
    Thanks


  2. #2
    Ardus Petus
    Guest

    Re: Allow users to edit range ERROR

    Please post your macro 'Sub...End Sub)

    HTH
    --
    AP

    <blommerse@saz.nl> a écrit dans le message de news:
    1151413348.876416.287750@u72g2000cwu.googlegroups.com...
    > Hello,
    >
    > I've a problem, I have a macro in my sheet that custom sort by hitting
    > a box.
    >
    > Now I want to allow users to edit range so I have to protect my sheet.
    > When I do this thing, my macro said there's an error in it.
    > How can I allow users to edit range and my macra still working. Can
    > anyone help me and let my know how???
    > Thanks
    >




  3. #3
    jpfulton@cathedraldirectories.com
    Guest

    Re: Allow users to edit range ERROR

    Ardus Petus wrote:
    > Please post your macro 'Sub...End Sub)
    >
    > HTH
    > --
    > AP
    >
    > <blommerse@saz.nl> a =E9crit dans le message de news:
    > 1151413348.876416.287750@u72g2000cwu.googlegroups.com...
    > > Hello,
    > >
    > > I've a problem, I have a macro in my sheet that custom sort by hitting
    > > a box.
    > >
    > > Now I want to allow users to edit range so I have to protect my sheet.
    > > When I do this thing, my macro said there's an error in it.
    > > How can I allow users to edit range and my macra still working. Can
    > > anyone help me and let my know how???
    > > Thanks
    > >



    www.cathedraldirectories.com


  4. #4
    blommerse@saz.nl
    Guest

    Re: Allow users to edit range ERROR

    I changed it now to give the macra the order to unprotect, custom
    filter and then protect.
    It works now.
    But my next question is: Is it possible to allow users to format
    cells??
    Can you tell me?
    Regards, Berry


  5. #5
    blommerse@saz.nl
    Guest

    Re: Allow users to edit range ERROR


    Hi Ardus, this is my macro:

    Sub protection()
    '
    ' protection Macro
    ' Macro recorded 27.06.2006 by blommerse
    '

    '
    ActiveSheet.Unprotect
    Selection.AutoFilter Field:=3, Criteria1:="<>C", Operator:=xlAnd, _
    Criteria2:="<>0*"
    ActiveSheet.Protect DrawingObjects:=True, _
    Contents:=True, Scenarios:=True, _
    AllowFormattingCells:=True
    End Sub

    Now I want that users can't change colors of the cells (except me)
    Can you help??
    Greets


+ 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