+ Reply to Thread
Results 1 to 3 of 3

Urgent help required: lock the data in a cell after entering the value.

  1. #1
    Registered User
    Join Date
    12-10-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Urgent help required: lock the data in a cell after entering the value.

    Hi,

    I am new to vba, need help. details of my requirement is given as:

    0: i have a sheet 1 protected and few edit range (Col A,B,C,D,E and F).

    1: I have a validation on multiple adjacent columns (like Col A, Col C, Col E).
    2: I need a code where if i select value in col a (cell A2) cell B2 should get current date and Time and both the cells (A2 and B2) should be locked. when i select data in cell C2 , D2 should get current date and time(Cell C2 and D2 should be protected).
    3: User can enter data in A3 and B3 will get current date and Time (now A3 and B3) should be locked.
    4: I need a function where user can call it and unlock the locked cells and edit the data and re-lock the cells again.

    apart from the Col A,B,C,D,E and F, other columns and cells remain locked.

    Thanks and Regards,
    Viki

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: Urgent help required: lock the data in a cell after entering the value.

    firstly, please mark the previous thread as solved, it is considered "bad form" to post the same question multiple times, particularly in a ver4y short number of minutes.

    Secondly, almost all volunteers on this forum work much better with a sample workbook that includes data and expected results and evidence of what you have tried already to resolve your issue.

    Have you recorded the actions manually and examined what was captured for just one example of "your efforts to date"

    Sorry to sound grumpy but this is not a free solution providing place, we are here to help you improve your knowledge

    Cheers

    Jmac1947

    1. Please consider clicking on the * Add Reputation if you think this post has helped you
    2. Mark your thread as SOLVED when question is resolved

  3. #3
    Registered User
    Join Date
    12-10-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Urgent help required: lock the data in a cell after entering the value.

    Hi Jmac1947,

    Thanks for your quick reply.

    I have marked the first post as "Solved". As I have mentioned that, I am new to VBA and Coding, so, I have the idea of my work but not the code.

    I have attached the workbook for your reference, if you you could please help me solve the issue, it will be a grt help for me.

    Thanks and Regards,
    Viki
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Lock column after time entering in another
    By anbarasukc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2013, 03:37 AM
  2. cell auto-lock after entering time
    By VanHardy in forum Excel General
    Replies: 5
    Last Post: 09-17-2013, 07:05 PM
  3. Urgent help required PLEASE: How to create a Macro to refreh data from the web
    By jenniferc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2013, 11:47 PM
  4. Lock cells from entering text when value is met
    By Propnistasaga in forum Excel General
    Replies: 0
    Last Post: 06-14-2010, 08:08 AM
  5. Check box to lock out entering information?
    By Djanvk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-07-2008, 12:53 AM

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