K
kyoshirou
Hello..
I have this code:
As new data is save at the last row, how do i make it to save on the first
row? Do i use FirstRow?
Any website to teach?
Thanks!
Set inputWks = Worksheets("MAIN")
Set historyWks = Worksheets("Data")
With historyWks
nextRow = .Cells(.Rows.Count, "A").End(xlUp).Offset(1, 0).Row
End With
With inputWks
Set myRng = .Range(myCopy)
If Application.CountA(myRng) <> myRng.Cells.Count Then
MsgBox "Please fill in all the cells!"
Exit Sub
End If
End With
I have this code:
As new data is save at the last row, how do i make it to save on the first
row? Do i use FirstRow?
Any website to teach?
Thanks!
Set inputWks = Worksheets("MAIN")
Set historyWks = Worksheets("Data")
With historyWks
nextRow = .Cells(.Rows.Count, "A").End(xlUp).Offset(1, 0).Row
End With
With inputWks
Set myRng = .Range(myCopy)
If Application.CountA(myRng) <> myRng.Cells.Count Then
MsgBox "Please fill in all the cells!"
Exit Sub
End If
End With