title: How to modify VBA that puts a timestamp in a cell based on a change made in another cell, to act on two columns?
body: <p>I need this VBA:</p>
  <pre><code>Option Explicit
  Private Sub Worksheet_Change(ByVal Target As Range)
      Dim cell As Range
      If Not Intersect(Target, Range(&quot;M:M&quot;)) Is Nothing Then
          Application.EnableEvents = False
          For Each cell In Target
              cell.Offset(0, 1).Value = Now
              cell.Offset(0, 1).NumberFormat = &quot;dd/mm/yyyy, hh:mm:ss&quot;
          Next cell
      End If
      Application.EnableEvents = True
  End Sub
  </code></pre>
  <p>To act on column M and produce a timestamp in column N and also act on column O and produce a timestamp in column P. I'm pretty new to VBA so would appreciate any help, Thanks!</p>