FaizanRoshan88
Member
Hi,
I have try to copy data from invoices to Worksheet("Recovery Sheet"). I have another code that generate many Invoices. I would like to copy data from new generated invoice to ws one by one. Here is code for copy data but its not work. Please help me if any one know how to do this.
I have try to copy data from invoices to Worksheet("Recovery Sheet"). I have another code that generate many Invoices. I would like to copy data from new generated invoice to ws one by one. Here is code for copy data but its not work. Please help me if any one know how to do this.
Code:
Dim RS as worksheet
Set RS = worksheets("Recovery Sheet")
RS.Range(cells(Rows.Count, 2).End(xlUp).Offset(1, 0)).Select
Selection.Value = 'value = x1up cell value + 1
'copy paste data in same row with next column cell
RS.Range(cell.Offset(0, 1)).Value = Activesheet.Range("A8").Value
RS.Range(cell.Offset(0, 1)).Value = Activesheet.Range("A9").Value
RS.Range(cell.Offset(0, 1)).Value = Activesheet.Range("F12").Value
RS.Range(cell.Offset(0, 1)).Value = Activesheet.Range("F15").Value
RS.Range(cell.Offset(0, 1)).Value = Activesheet.Range("F16").Value