I’ve recorded a simple macro that I need to make into something generic, so it can be used for any row and last four cells. Here is my recroded version:
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToLeft).Select
Range("Q12:T12").Select
Range("T12").Activate
Selection.Copy
End Sub
How do I
- make it go to the last cell of the ROW I place the cursor into?
- change the cell specific ranges into a range that just means: select this cell and 3 more to the left?
… the selection.copy I think I can nearly manage 🙂
Many thanks
Mike
This will copy the last four cells in any row you click into:
Update – If your row has broken data then best approach is to start in the final column of the spreadsheet (column IV) and then work back. To achieve this replace the
lastCellstatement with the following: