I am trying to use a userform to enter data and can not seem to have the next data entry appear on a new line. It is a simple userform that has about 10 fields that are inputted and then the user clicks a button that transfers the data and allows for another entry. However, i do not seem to be doing that correctly. Thanks.
Code:
Private Sub cmdTransfer_Click()
Dim RowCount As Long
'Range("A2") = txtCase.Value
'Range("B2") = txtEnd.Value
'Range("C2") = txtReview.Value
'Range("D2") = cboDx.Text
'Range("E2") = txtAge.Value
'Range("F2") = cboAge.Text
'Range("G2") = cboGender.Text
'Range("H2") = cboStatus.Text
'Range("I2") = cbLSAB.Text
'Range("J2") = cbSSPHR.Text
'Range("K2") = cbSSPLR.Text
'Range("L2") = cbSBT.Text
'Range("M2") = cboDonor.Text
'Range("N2") = txtType.Text
'Range("O2") = txtKey.Text
RowCount = Worksheets("HSCBM_RD").Range("A2").CurrentRegion.Rows.Count
With Worksheets("HSCBM_RD").Range("A2")
.Offset(RowCount, 0) = Me.txtCase.Value
.Offset(RowCount, 1) = Me.txtEnd.Value
.Offset(RowCount, 2) = Me.txtReview.Value
.Offset(RowCount, 3) = Me.cboDx.Value
.Offset(RowCount, 4) = Me.txtAge.Value
.Offset(RowCount, 5) = Me.cboAge.Value
.Offset(RowCount, 6) = Me.cboGender.Value
.Offset(RowCount, 7) = Me.cboStatus.Value
.Offset(RowCount, 8) = Me.cbLSAB.Value
.Offset(RowCount, 9) = Me.cbSSPHR.Value
.Offset(RowCount, 10) = Me.cbSSPLR.Value
.Offset(RowCount, 11) = Me.cbSBT.Value
.Offset(RowCount, 12) = Me.cboDonor.Value
.Offset(RowCount, 13) = Me.txtType.Value
.Offset(RowCount, 14) = Me.txtKey.Value
End With
End Sub