.OnEntry Macro does not fire when pasting

  • Thread starter Thread starter David
  • Start date Start date
D

David

Is there a macro similar to the .onentry macro that will fire when a
value is pasted into the cell, rather than entered in. Alternatively
is there a way to make the .onentry macro fire when a value is pasted
into a cell.

TIA

David
 
Is there a macro similar to the .onentry macro that will fire when a
value is pasted into the cell, rather than entered in. Alternatively
is there a way to make the .onentry macro fire when a value is pasted
into a cell.

TIA

David

Look into the Worksheet_Change event. Quoting the example in the
Excel VBA Help ...

Private Sub Worksheet_Change(ByVal Target as Range)
Target.Font.ColorIndex = 5
End Sub

It fires when a cell or range of cells changes because of entry or
other user activity; such as a Paste, drag and drop, deletion, etc.

Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/
 

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