So here is my current macro code:
Sub moverec()
'
' moverec Macro
'
' Keyboard Shortcut: Ctrl+m
'
ActiveCell.Offset(0, 47).Range("A1:BE1").Select
Selection.Copy
Sheets("Bank File").Select
Range("A1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveCell.Offset(-1, 0).Range("A1:D1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(2, 0).Range("A1").Select
ActiveSheet.Paste
Sheets("Payroll Calculatios").Select
ActiveCell.Offset(1, -47).Range("A1").Select
End Sub
After looking online i think i found the code for the loop:
Sub Test2()
' Select cell A2, *first line of data*.
Range("A2").Select
' Set Do loop to stop when an empty cell is reached.
Do Until IsEmpty(ActiveCell)
' Insert your code here.
' Step down 1 row from present location.
ActiveCell.Offset(1, 0).Select
Loop
End Sub
The only part where im struggling is how to edit the current code so it includes this second code i found online.
I hope someone knows the answer.
Thanks
Shil
Bookmarks