Macro offset, but need to anchor to newly pasted data
Posted by George J on January 14, 2002 8:16 AM
The macro below is supposed to enable me to copy cells A4 to P13 and paste them from A14. This haolds true for all the sheets, but I am stumped as to how after inputting data to cells in row 14, I can trigger the macro again if needed to copy A14 to P13 and paste from A24 etc.
I have looked at previous posts, but could not find the solution. Any help or tips will be appreciated.
Confused but hopeful
George
Sub Paste_Relief_Workings()
'
' Paste_Relief_Workings Macro
' Macro recorded 11/01/2002 by gj
'
' Keyboard Shortcut: Ctrl+n
'
Range("A4:P13").Select
Selection.Copy
ActiveWindow.LargeScroll ToRight:=-1
ActiveCell.Offset(10, 0).Select
ActiveSheet.Paste
Sheets("Orig RV").Select
Range("A4:P13").Select
Application.CutCopyMode = False
Selection.Copy
ActiveWindow.LargeScroll ToRight:=-1
ActiveCell.Offset(10, 0).Select
ActiveSheet.Paste
Sheets("Settled IT Relief").Select
Range("A4:P13").Select
Application.CutCopyMode = False
Selection.Copy
ActiveWindow.LargeScroll ToRight:=-1
ActiveCell.Offset(10, 0).Select
ActiveSheet.Paste
Sheets("Original IT Relief").Select
Range("A4:P13").Select
Application.CutCopyMode = False
Selection.Copy
ActiveWindow.LargeScroll ToRight:=-1
ActiveCell.Offset(10, 0).Select
ActiveSheet.Paste
Sheets("Settled RV").Select
'this takes us back to the original sheet.
End Sub