I need to copy data from one workbook to another over time. So I open the second workbook several times a month and look for the first empty row and add some data with for cycle.
Workbooks(wName).Activate    
  for cycle = 1 to 10
firstEmptyRow = (Workbooks(wName).Worksheets("sName").Cells(Rows.Count, "A").End(xlUp).Row) + 1
Workbooks(wName).Worksheets("sName").Range("A" & (firstEmptyRow)) = myData1 'from userForm
Workbooks(wName).Worksheets("sName").Range("B" & (firstEmptyRow)) = myData2
 next cycle
But is there a beter way?
Without .Activate and without .Select?
What is the best practice?
I only found this .End(xlUp) code
 
     
    