Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everybody
The problem is as follows: I need to get a date stamp in a columns b-g everytime my workbook is saved with a new value in column A. In column A I have made a picklist with seven different values, and I want to get a date stamp everytime the status of culumn A is changed. Is there any way I can do this? Any help would be greatly appreciated! Kind regards, Tue |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Right click on the worksheet tab that you want to check and select VIEW CODE.
Paste this in Private Sub Worksheet_Change(ByVal Target As Range) Dim myWS As Worksheet Set myWS = Target.Parent If Target.Count 1 Then Exit Sub If Not Intersect(Target, Range("A:A")) Is Nothing Then myWS.Cells(Target.Row, 2).Value = Date + Time 'Change 2 to the column you need A=1, B=2, C=3 etc. End If End Sub HTH, Barb Reinhardt "Tueanker" wrote: Hi everybody The problem is as follows: I need to get a date stamp in a columns b-g everytime my workbook is saved with a new value in column A. In column A I have made a picklist with seven different values, and I want to get a date stamp everytime the status of culumn A is changed. Is there any way I can do this? Any help would be greatly appreciated! Kind regards, Tue |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Separating date from a Date & Time stamp | Excel Discussion (Misc queries) | |||
permanent time and date stamp for Excel --- so it cant be changed | Excel Discussion (Misc queries) | |||
Create a button that will date stamp todays date in a cell | Excel Discussion (Misc queries) | |||
Date stamp spreadsheet in excel to remind me of completion date | Excel Worksheet Functions | |||
Code - if T changed, change date in W to date it is changed | Excel Programming |