+ Reply to Thread
Results 1 to 7 of 7

allow users to edit ranges

  1. #1
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    allow users to edit ranges

    The attached file has been shared with my colluges, now they are having access to edit the ranges for all the dates and it was protected with unique password for each and every bay.

    Some times they are editing the values for the completed dates, now i need to protect them for the dates which has been completed and they should be allowed only to modify the datas only for today and yesterday, for that i need vba prcedure to prevent the access.

    Please help me to solve this issue, and many thanks in advance for all your efforts.

    Thanks & Regards
    Muralidaran.
    Attached Files Attached Files
    Last edited by muralidaran; 02-06-2012 at 05:31 PM.

  2. #2
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: allow users to edit ranges

    If possible please include this condition as well.
    There are some administators and they are allowed to edit the ranges even for the completed dates.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: allow users to edit ranges

    Hi

    You need to do this only with VBA?

    Because you can do this, using Custom Format..
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: allow users to edit ranges

    Thats really fine, doesnt matter of VBA or some other procedure, currentley i am using allow users to edit ranges, but is it possible to protect the cells using conditions? like yesterday and today?

    Please advise and if it is possible please let me know how to do that.

    Thanks.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: allow users to edit ranges

    Highlight the area that you want to use the Custom Validation.

    Then >>Data>>Validation>Custom. Put this formula.

    =OR($C3=TODAY,$C3=T0DAY()-1)


    This validation, allows to users to modify anything, ONLY in the columns that Header date =Today or Yesterday.

    I made for you range c4:j9. Same for the others.

    Hope to helps you.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: allow users to edit ranges

    Thanks a lot, it works fine.......

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: allow users to edit ranges

    You are welcome!

    Thanks for the reb*

+ 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