bpgolferguy
Active Member
- Joined
- Mar 1, 2009
- Messages
- 469
Hi, I currently have this code in my excel form that once data is entered in the form, it looks for the first empty row in the worksheet to start copying the data. Well, row 1 and row 2 in the worksheet it posts the data to are header rows, but my problem is row 3 has some formulas in a couple of the columns, and so I have it hidden and when new data is entered in copies down those formulas from that row. So basically what I'm saying is I want it to skip over row 3 and the first time data is entered start at row 4 then go down from there. Here is the current code:
'find first empty row in database
iRow = ws.Cells(Rows.Count, 1) _
.End(xlUp).Offset(1, 0).Row
How would I modify that so that it will start at row 4 instead of row 3 when I enter in the very first entry into the form? Thanks!
'find first empty row in database
iRow = ws.Cells(Rows.Count, 1) _
.End(xlUp).Offset(1, 0).Row
How would I modify that so that it will start at row 4 instead of row 3 when I enter in the very first entry into the form? Thanks!