after entering a text in one cell, next cell should disp the entd

  • Thread starter Thread starter Guest
  • Start date Start date
You can use the change event. The following macro, for example, will look
for changes to any cell in column A and record the date/time in column B:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Range("A:A"), Target) Is Nothing Then
Exit Sub
End If
Target.Offset(0, 1).Value = Now
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top