'find first empty row in database
iRow = WS.Cells(Rows.Count, 1) _
.End(xlUp).Offset(1, 0).Row
How could I change the lines so that when I press the "OK" button from the userform the code finds first empty row after the row 10 and copies the data to that row?
Yes Hans. I'm aware of that.The code looks for first empty column & first empty row.
What I'm trying to make is the code to look for column "C" instead of column "A"
Because my data starts from row 11 where I have my column headers in row 10. My data starts from C10 to K10.
Meaning I want the data to get added to row 12 and onwards with the OK button.