Hi
Welcome to the forum
Why would you need a second userform?
Once you have entered all your data why not just write it to your spreadsheet?
From now on please post your spreadsheet not pictures.
I sometimes get annoyed at having to duplicate someones work and then I do not respond.
As you are new I will help you as best as I can.
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to
Manage Attachments to open the upload window.
Ok this does what you want I think.
Private Sub CommandButton1_Click()
'This creates an array that we can use to write our data to Excel
'Not really useful here but if you have a lot of data to write this becomes a huge time saving
Dim MyArray(3)
'If you use numbered Controls then you can use a for next loop to manipulate your data
For Count = 0 To 3
MyArray(Count) = Me.Controls("Label" & Count + 1).Caption & ": " & Me.Controls("Textbox" & Count + 1).Text
Next
'This writes your data to excel in one go
Range("A1:A4").Value = Application.Transpose(MyArray)
Range("A1").Select
End Sub
Bookmarks