I am battling to figure out how to make this easier. I need to take the data from a multi-page of "Comboboxs" and "Textboxs" to a specific sheet. I have code that works, but its going to be a lot of work and I have 2 tabs I have to do this for.
Here is the Userform (D18 Stage V pg1 & 2) and Sheet I am trying to paste it into: https://www.screencast.com/t/soKEa9ZlSfu
Code:
Private Sub CommandButton2_Click()
Worksheets("BOM").Activate
Range("B2:D77").ClearContents
Range("G2").Value = TextBox222
If TextBox222 = "" Then
MsgBox ("Missing Total Engines, please enter the total QTY of engines.")
ElseIf MultiPage1.Value = 0 Then
With Me
'Oil Filter
'Part number
Range("B2").Value = TextBox111
'Descrip
Range("C2").Value = ComboBox14 & " Oil Filter"
'Code
Range("D2").Value = TextBox115
'Alternator
Range("B3").Value = TextBox141
Range("C3").Value = "Alternator " & ComboBox18
Range("D3").Value = TextBox140
End With
End If
End Sub
Here is the Userform (D18 Stage V pg1 & 2) and Sheet I am trying to paste it into: https://www.screencast.com/t/soKEa9ZlSfu