raccoon588
Board Regular
- Joined
- Aug 5, 2016
- Messages
- 118
i have a user form that gathers some data. The following code continues to dumb the info onto the active sheet rather then sheet 13 (request log). i need it to populate the data on that sheet every time rather then on the active worksheet.
Code:
Dim erow As Long
erow = Worksheets("sheet13").Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
Cells(erow, 1).Value = ComboBoxName.Value
Cells(erow, 2).Value = Date
Cells(erow, 3).Value = Time
Cells(erow, 4).Value = DTPicker1.Value
Cells(erow, 5).Value = DTPicker2.Value