Afternoon all,
Im hoping that somebody can quickly help, Ive scoured the site for an answer to this somewhat easy question, but im struggling to find the answer.
I want to put the paste values into one line (Array?) then paste the copied cell, the VBA recorder output is as follows;
I know I should be able to get this down to about 3 x lines of code but am having a blonde moment and cant get it to work! grrr
Im hoping that somebody can quickly help, Ive scoured the site for an answer to this somewhat easy question, but im struggling to find the answer.
I want to put the paste values into one line (Array?) then paste the copied cell, the VBA recorder output is as follows;
Code:
Range("F65").Select
ActiveCell.FormulaR1C1 = "=+R[-49]C-R[-2]C"
Range("F65").Select
Selection.Copy
Range("G65").Select
ActiveSheet.Paste
Range("J65").Select
ActiveSheet.Paste
Range("K65").Select
ActiveSheet.Paste
Range("N65").Select
ActiveSheet.Paste
Range("O65").Select
ActiveSheet.Paste
Range("R65").Select
ActiveSheet.Paste
Range("S65").Select
ActiveSheet.Paste
Range("AF65").Select
ActiveSheet.Paste
Range("AL65").Select
ActiveSheet.Paste
Range("H65").Select
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=+RC[-1]-RC[-2]"
Range("H65").Select
Selection.Copy
Range("L65").Select
ActiveSheet.Paste
Range("P65").Select
ActiveSheet.Paste
Range("T65").Select
ActiveSheet.Paste
Range("AM65").Select
ActiveSheet.Paste
I know I should be able to get this down to about 3 x lines of code but am having a blonde moment and cant get it to work! grrr