View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default MACRO or FORMULA

Right click on sheet tab, view code. Paste this in:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target = Range("A1") Then 'Range where drop down is
Range("A2").Value = Now 'Range where you want time stamp
End If
End Sub


Note that time stamp is changed whenever drop-down is changed. You may need
to adjust formatting of time stamp cell to match the exact look you are
wanting.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CHENG28" wrote:

I am trying to make a spread sheet which has a cell with a drop down function
from which a name can be selected - that is no problem.
What I would like to do is when a name is selected from the drop down, I
would like to have the cell below it self-populate with the time and date.
I have talked to many users much more experienced than I, and have not been
able to figure out a method to do this.