+ Reply to Thread
Results 1 to 6 of 6

When a cell content changes, automatically keep a record with date in a seperate worksheet

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    14

    When a cell content changes, automatically keep a record with date in a seperate worksheet

    Hi,

    I have a cell ( M225 ) in Sheet 1 which is called 'OVERVIEW'.

    The cell value changes regularly as it is a sum of other cells in the worksheet.

    I want to somehow keep a record of the cell every time it changes in a worksheet I have called 'VOLUME RECORD' with the date next to it.

    Is this possible?

    Regards,
    David

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: When a cell content changes, automatically keep a record with date in a seperate works

    Copy the below code and do right click on OVERVIEW sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    07-10-2014
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    14

    Re: When a cell content changes, automatically keep a record with date in a seperate works

    Wow,

    Works a treat!

    Thank you very much.

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: When a cell content changes, automatically keep a record with date in a seperate works

    Sixthsense's solution is awesome, with the downside that it will keep a record if a calculation is done, rather than when that specific cell changes...

    @Sixthsense: Would adding something like below not make sure it only records when there's a change?

    Please Login or Register  to view this content.
    Please click the * below if this helps

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: When a cell content changes, automatically keep a record with date in a seperate works

    Quote Originally Posted by JasperD View Post
    @Sixthsense: Would adding something like below not make sure it only records when there's a change?
    Thanks for the correction Jasper. Yes the change event is enough, I believe

    Please Login or Register  to view this content.

  6. #6
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: When a cell content changes, automatically keep a record with date in a seperate works

    @ Sixthsense : the change event won't trigger a sum calculation change, so your original approach was better.
    Just adding in to see if the value actually changed by the line that I added would make it complete, I think.

    Anyway, this thread is marked as solved, so I guess it worked ;-)

+ 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. Replies: 7
    Last Post: 08-12-2014, 10:40 AM
  2. [SOLVED] seperate text from alphanumeric content from a cell.
    By emymeeky in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-05-2014, 08:26 AM
  3. Automatically copy cells content based on the content of another cell.
    By chrisbarlow1984 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2014, 11:13 AM
  4. Replies: 1
    Last Post: 04-01-2013, 03:33 PM
  5. email all out of date content from training record
    By davemcguire in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2011, 06:47 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