Re: Input form not saving in the right place
It would be better if you can use the code like this :
Select Code
Private Sub CmdSave_Click()
Sheet1.Activate
LR = Sheet1.Cells(Rows.Count, "A").End(xlUp).Row
Sheet1.Range("B" & LR) = dtpCaseReceivedDate.Value
End Sub
Because Select, Offset they increase the execution time. Anyway in your code you are using this:
Select Code
Range("A1").End(xlDown).Offset(1, 0).Select
So this is selecting the row after title row all the time as Range("A1").End(xlDown) is A2 in your sheet. You can use A2 here instead of A1 :
Select Code
Range("A2").End(xlDown).Offset(1, 0).Select
Bookmarks