this pastes clipboard contents as values:
Sub PasteSpec()
On Error GoTo Etrap
Selection.PasteSpecial Paste:=xlValues
Exit Sub
On Error GoTo Lesson
Etrap:
Beep
Exit Sub
End Sub
You need to create a event and then attach this code in a Private sub to fire
Private Sub Cell_Exit()
Sheets("X").Range("Y" & Z).value = Sheets("A").Range("B" & C)
' where X & A are the Worksheet Names
' Where Y & B are the Row #s ( Not an _
alpha character)
' Where Z & C are the Col #s
End Sub
Set this to run on exit from the specified source cell, or tie it to a button and run it after all your updates are done and it will copy the info to your receiving cell.
HTH...Brad
When in doubt use the Macro Recorder and exam the code that it produces [NT]
This is excellent advice and applies to many questions asked on this board (nt)
Re: correction to code snippet
Update to Col & Row settings in snippet
' Sorry Lost my head and got Col & Row backwards
Viewing a recorded Macro can yield a number insights in to how the code works, but IT isn't going to show you complex code. It simply copies your keystrokes and automates activities into VBA where applicable.
Some things require asking people on the board or searching for code snippets.
Brad
However, it's sufficient for command related statements like Paste Special... [NT]
Some things require asking people on the board or searching for code snippets. Brad