Documentos de Académico
Documentos de Profesional
Documentos de Cultura
ComboBox2.Clear
ComboBox3.Clear
If ComboBox1.ListIndex = 0 Then
ComboBox2.AddItem "Galón", 4
ComboBox2.AddItem "Barriles", 5
ComboBox3.AddItem "Barriles", 0
ComboBox3.AddItem "Litros", 2
ComboBox3.AddItem "Galones", 5
End If
If ComboBox1.ListIndex = 1 Then
ComboBox3.AddItem "Kilocalorías", 9
ComboBox3.AddItem "Calorías", 10
End If
If ComboBox1.ListIndex = 2 Then
ComboBox2.AddItem "BTU", 1
ComboBox2.AddItem "caloría", 2
ComboBox2.AddItem "kilocaloría", 3
ComboBox2.AddItem "Gigajoule", 5
ComboBox2.AddItem "Petacaloría", 6
ComboBox3.AddItem "Joules", 1
ComboBox3.AddItem "caloría", 2
ComboBox3.AddItem "BTU", 3
ComboBox3.AddItem "megawatts", 5
End If
End Sub
If ComboBox1.ListIndex = 0 Then
End If
End If
total = TextBox1.Value * 1
End If
End If
If ComboBox2.ListIndex = 2 And ComboBox3.ListIndex = 3 Then
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
If ComboBox2.ListIndex = 1 And ComboBox3.ListIndex = 2 Then
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
If ComboBox2.ListIndex = 3 And ComboBox3.ListIndex = 2 Then
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
If ComboBox2.ListIndex = 5 And ComboBox3.ListIndex = 1 Then
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
If ComboBox1.ListIndex = 1 Then
End If
If ComboBox1.ListIndex = 2 Then
End If
End If
total = TextBox1.Value * 1
End If
End If
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
total = TextBox1.Value * 1
End If
End If
End If
End If
End If
total = TextBox1.Value * 42
End If
End If
End If
End If
End If
End If
Cells(6, 11).Select
Selection.EntireRow.Insert
End Sub
Private Sub UserForm_Initialize()
ComboBox1.AddItem "Caloríficas", 1
ComboBox1.AddItem "Energéticas", 2
End Sub