Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paulo Matos
 
Posts: n/a
Default how do i keep a time/date register of every change occurred in a c

I create a validation cell (emited, approved, delivered) and I wanted to get
a time/date register of every change ocurred in these status. How?
  #2   Report Post  
Matt Lunn
 
Posts: n/a
Default


Try this.

Create a dynamic named range. I created in a seperate sheet named "Log":

Enter "Log" into cell A1 in the "Log" sheet.

Choose InsertNameDefine from the menu bar.

Type Log into The Names in Workbook box

Type = OFFSET(Log!$A$1, COUNTA(Log!$A$A),0,1,2) into the Refers To: box



On the sheet where your validation cell is, Right click on the Tab and
choose View Code. Paste the following into the code window

Private Sub Worksheet_Change(ByVal Target As Range)

Dim rngLog As Range


If Target.Address = ("$A$1") Then

Set rngLog = Sheets("Log").Range("Log")

rngLog.Cells(1, 2) = Now()
rngLog.Cells(1, 1) = Range("$A$1")



End If

End Sub



Let me know if this works.



Matt



"Paulo Matos" wrote:

I create a validation cell (emited, approved, delivered) and I wanted to get
a time/date register of every change ocurred in these status. How?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change FORMAT viddom Excel Discussion (Misc queries) 1 July 1st 05 06:06 PM
Cell Change Color - Need Help alani New Users to Excel 3 June 29th 05 03:50 PM
change cell shading whenever contents different from previous cell zooeyhallne Excel Discussion (Misc queries) 3 June 6th 05 09:59 PM
conditional cell shading when a change occurs zooeyhall Excel Discussion (Misc queries) 1 June 6th 05 05:14 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"