pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
Hi,
What 'm trying to achieve here is for the code to select the first 3cells only (row) not the whole xltoright.
how can i make the code to copy the 1st 3 cells in the row and then select A1 and paste the 1st value
2nd value in A5 and 3rd copied value to A6?
Thanks for helping
What 'm trying to achieve here is for the code to select the first 3cells only (row) not the whole xltoright.
how can i make the code to copy the 1st 3 cells in the row and then select A1 and paste the 1st value
2nd value in A5 and 3rd copied value to A6?
Thanks for helping
Code:
Sub Macro1()
Sheet1.Select
ActiveCell.Select
Range(Selection, Selection.End(xlToRight)).Copy
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Sub