+ Reply to Thread
Results 1 to 4 of 4

Capture total time when change value in cell in worksheet

  1. #1
    Registered User
    Join Date
    06-19-2014
    Location
    Viet Nam
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Post Capture total time when change value in cell in worksheet

    Dear All,

    Pls help to advice macro for below:
    1. When Input value "A" in cell A1 ---> date stamp in B1
    2. Change value "A" to "B" in cell A1 ---> capture total time from beginning input value "A" to time change value "B" ---> date stamp in C1
    3. Again change value "B" to "C" in cell A1 ---> capture total time from beginning input value "A" to time change value "C" ---> date stamp D1
    4. Again change value "D" to "E" in cell A1 ---> capture total time from beginning input value "A" to time change value "D" ---> date stamp D1
    5. Again change value "E" to "F" in cell A1 ---> capture total time from beginning input value "A" to time change value "F" ---> date stamp D1
    ...
    Thank you!

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Capture total time when change value in cell in worksheet

    have a look at this:
    DateStamp.xlsm
    Click on the star if you think I helped you

  3. #3
    Registered User
    Join Date
    06-19-2014
    Location
    Viet Nam
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: Capture total time when change value in cell in worksheet

    Thanks adyteo,

    * When the value third changed, date stamp is changed in only 1 cell (D1). pls see step 3,4,5
    Your code is every value changed, date stamp is in different cell.
    * And how to lock not allow edit manually by user, but macro is still can run?

    3. Again change value "B" to "C" in cell A1 ---> capture total time from beginning input value "A" to time change value "C" ---> date stamp D1
    4. Again change value "D" to "E" in cell A1 ---> capture total time from beginning input value "A" to time change value "D" ---> date stamp D1
    5. Again change value "E" to "F" in cell A1 ---> capture total time from beginning input value "A" to time change value "F" ---> date stamp D1


    Quote Originally Posted by adyteo View Post
    have a look at this:
    Attachment 326807

  4. #4
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Capture total time when change value in cell in worksheet

    replace the code from my excel file with this updated code:

    Please Login or Register  to view this content.

+ 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. Capture Cell Value Before Change Event
    By jaslake in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-27-2020, 09:45 AM
  2. [SOLVED] Using Scripting Directory to capture value of cell before change
    By jcox1953 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2014, 01:04 PM
  3. Replies: 2
    Last Post: 04-09-2012, 08:21 AM
  4. UDF to capture change in cell values
    By chris1983 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 01-18-2012, 09:39 PM
  5. Function to capture the time a cell changes
    By bondcrash in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2005, 11:12 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