wrightyrx7
Well-known Member
- Joined
- Sep 15, 2011
- Messages
- 994
Hello all, I have this VBA and wanted to know how I can get it to paste the values only because at the minute it changes the format of the cells on the sheets its being pasted to?
Thanks
Chris
Sub Test()
Cells(ActiveCell.Row, 1).Copy Sheets("Advance Payment").Cells(6, 2)
Cells(ActiveCell.Row, 3).Copy Sheets("Advance Payment").Cells(2, 5)
Cells(ActiveCell.Row, 4).Copy Sheets("Advance Payment").Cells(5, 5)
Cells(ActiveCell.Row, 10).Copy Sheets("Advance Payment").Cells(15, 4)
Cells(ActiveCell.Row, 11).Copy Sheets("Advance Payment").Cells(17, 5)
Cells(ActiveCell.Row, 11).Copy Sheets("Advance Payment").Cells(18, 5)
Cells(ActiveCell.Row, 12).Copy Sheets("Advance Payment").Cells(12, 4)
Cells(ActiveCell.Row, 8).Copy Sheets("Advance Payment").Cells(1, 5)
Sheets("Advance Payment").Activate
End Sub
Thanks
Chris