+ Reply to Thread
Results 1 to 4 of 4

Date workbook changed

  1. #1
    Registered User
    Join Date
    11-08-2006
    Posts
    2

    Date workbook changed

    Hi Everyone,
    I need some VBA code that will insert the date, into a specified cell on a specific worksheet, that the worksheet was last changed.

    I have a worksheet named 'points'. If any cell on the worksheet 'points' is changed I need the date that the change took place to be put in cell A1.

    I cannot use the Today() function because it will change when the workbook is opened even if no changes have been made to the worksheet.

    Any help would be most appreciated.

    Many thanks
    Phil

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Following event macro should do the job ...
    Go to worksheet tab
    right click
    select view code
    copy code

    Please Login or Register  to view this content.

    HTH
    Carim

  3. #3
    Registered User
    Join Date
    11-08-2006
    Posts
    2

    Smile Date Workbook Changed

    Hi Carim
    Many thanks for the code - it's just what I needed . It has solved a number of problems that I thought I would not be able to overcome.
    Once again many thanks for your help.
    Phil

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    You are welcome...

    Thanks for the feedback

    Carim

+ 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