Hello
I have a lot of data in a spreadsheet refering to individuals:
first name, surname, area, job title, contract start date 1, contract end date 2, etc etc
What I wish to do is copy/paste from the line that I'm on to other cells in that line.
I have recorded a macro, detailed below. However it refers to the line that I'm on when I recorded the macro and I want it to be on the active line - in the recording it was line 64, but it might be 364 that I'm working in. Could some kind person point me in the right direction?
Range("AG64:AL64").Select
Selection.Copy
Range("AM64").Select
ActiveSheet.Paste
Range("L64:Q64").Select
Application.CutCopyMode = False
Selection.Copy
Range("AG64").Select
ActiveSheet.Paste
Range("L64").Select
Application.CutCopyMode = False
regards
Pendle
I have a lot of data in a spreadsheet refering to individuals:
first name, surname, area, job title, contract start date 1, contract end date 2, etc etc
What I wish to do is copy/paste from the line that I'm on to other cells in that line.
I have recorded a macro, detailed below. However it refers to the line that I'm on when I recorded the macro and I want it to be on the active line - in the recording it was line 64, but it might be 364 that I'm working in. Could some kind person point me in the right direction?
Range("AG64:AL64").Select
Selection.Copy
Range("AM64").Select
ActiveSheet.Paste
Range("L64:Q64").Select
Application.CutCopyMode = False
Selection.Copy
Range("AG64").Select
ActiveSheet.Paste
Range("L64").Select
Application.CutCopyMode = False
regards
Pendle