I am running into the runtime error '424' Object required issue. I am using the variable eRow in order to enter data from a userform into the next available row in a excel sheet. I can't find any issues with the code, it was working a couple weeks ago.
Here is a shortened version of what I am using.
Here is a shortened version of what I am using.
Code:
Private Sub Enter_Click()
eRow = Database.Cells(Rows.Count, 1).End(x1Up).Offset(1, 0).Row
Cells(eRow, 1).Value = Day.Text
Cells(eRow, 2).Value = PMEHours.Text
Cells(eRow, 3).Value = PMEGallons.Text
Cells(eRow, 4).Value = SMEHours.Text
End Sub