• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Application.username and locking cells

Xlsin

New Member
Hi ,

I have an excel file which is used by multiple users at a time. The excel file is uploaded in sharepoint. The problem with the file is the data entry sometimes goes wrong due to overwriting issue. Hence, I want to Lock the cells based on application.username code. All the user name will be available in the workbook. So, a macro can be created that if application username is same as the name in the sheet than unlock that particular row. My question is if multiple user work together in that excel file then can they edit the unlock cells of other user.
 
Back
Top