Auto inserting date of change

  • Thread starter Thread starter patti
  • Start date Start date
P

patti

I have a spreadsheet that I would like to have today's
date automatically insert in the next column when I change
the entry in the first column.

For example:
Colume A = 5 Colume B = 03/04/04

Today I change Column A to 6; How can I get Column B to
automatically change to 03/05/04?

Thank you.
 
This automatically puts the date in A when data goes into B Paste into veiw
code on your worksheet

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 And Target <> "" Then Target.Offset(, -1) = Date
End Sub

--

..
..
..
..
 
Back
Top