I have created a User Form in Excel that follows the following VBA code:
Private Sub CommandButton1_Click()
If TextBox1.Value = "" Then
If MsgBox("Form is not complete. Continue?", vbQuestion + vbYesNo) <> vbYes Then
ActiveCell = TextBox1.Value
TextBox1.Value = ""
This VBA code provides me the result generated in the User Form in the active cell of the WorkSheet.
I want to copy and paste this result into 18 rows below and then the active cell should be offset to the row below this cell.
The idea being if a User generates another result through the User Form (command button) will copy and paste this result 18 rows below and then the active cell should be offset to the row below this cell.