I have a code in the multi page userform that adds data to each column in the table then when hit finish and next it adds a new line.
code:
nr = ThisWorkbook.Sheets("DATA LOG").Range("A:G").Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 1) = Me.DTPicker1.Value
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 2) = Me.cmbDriver
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 5) = Me.cmbSchedule
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 6) = Me.cmbDirection
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 7) = Me.cmbTrip
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 12) = Me.tbTimeIn
ThisWorkbook.Sheets("DATA LOG").Cells(nr, 13) = Me.tbTimeOut
Now when it creates the new table row the userform focuses on the date tab where I would have to select a date using the date picker. I would want the date selected goes to the 1st column as seen in the code( ThisWorkbook.Sheets("DATA LOG").Cells(nr, 1) = Me.DTPicker1.Value).
I would really like to work with you to get it there?
Bookmarks