Dear VBA Expert,
Iam needing your help to resolve my VBA error.
I am trying to record (copy) the following data entry (daily change)
On sheet 1 ; Cell C11, G14, G19, C37 and G10
Paste onto next (Continuous data buildup)
On sheet 2 : Cell D3, B3, G3, E3 and F3 & Last Row
I am using the following VBA, however it does not copying to last row, appreciate your help.
Private Sub CommandButton1_Click()
Dim Last_Row As Long
Sheet1.Range("C11").Copy Sheet2.Range("D3").End(xlUp).Row + 1
Sheet1.Range("G14").Copy Sheet2.Range("B3").End(xlUp).Row + 1
Sheet1.Range("G19").Copy Sheet2.Range("G3").End(xlUp).Row + 1
Sheet1.Range("C37").Copy Sheet2.Range("E3").End(xlUp).Row + 1
Sheet1.Range("G10").Copy Sheet2.Range("F3").End(xlUp).Row + 1
End Sub
Rgds, Halim
Iam needing your help to resolve my VBA error.
I am trying to record (copy) the following data entry (daily change)
On sheet 1 ; Cell C11, G14, G19, C37 and G10
Paste onto next (Continuous data buildup)
On sheet 2 : Cell D3, B3, G3, E3 and F3 & Last Row
I am using the following VBA, however it does not copying to last row, appreciate your help.
Private Sub CommandButton1_Click()
Dim Last_Row As Long
Sheet1.Range("C11").Copy Sheet2.Range("D3").End(xlUp).Row + 1
Sheet1.Range("G14").Copy Sheet2.Range("B3").End(xlUp).Row + 1
Sheet1.Range("G19").Copy Sheet2.Range("G3").End(xlUp).Row + 1
Sheet1.Range("C37").Copy Sheet2.Range("E3").End(xlUp).Row + 1
Sheet1.Range("G10").Copy Sheet2.Range("F3").End(xlUp).Row + 1
End Sub
Rgds, Halim