Академический Документы
Профессиональный Документы
Культура Документы
activecell.offset(0,1).activate
activecell.offset(0,-1).activate
activecell.offset(1,0).activate
activecell.offset(-1,0).activate
ActiveCell.FormulaR1C1 = TextBox1
impor = pre * cant
TextBox5 = impor
ActiveCell.Value = cod
ActiveCell.Offset(0, 1).Activate
ActiveCell.Value = des
ActiveCell.Offset(0, 1).Activate
ActiveCell.Value = pre
ActiveCell.Offset(0, 1).Activate
ActiveCell.Value = cant
ActiveCell.Offset(0, 1).Activate
ActiveCell.Value = impor
ActiveCell.Offset(rowOffset:=1, columnOffset:=-4).Activate
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox1.SetFocus
End Sub
Private Sub CommandButton3_Click()
End
End Sub
Sub PRODUCTO()
UserForm2.Show
End Sub
LAZOS
Tema1.-Cargar elementos en un COMBOBoX1
Range("a9").Select
End Sub
Tema3.-AplicacionComboBox
End Select
End Sub
ActiveCell.Value = ComboBox1.Text
ActiveCell.Offset(0, 1).Activate
ActiveCell.Value = ListBox1.Text
ActiveCell.Offset(0, 1).Activate
ActiveCell.Offset(rowOffset:=1, columnOffset:=-2).Activate
End Sub
p = TextBox1
i = Val(TextBox2) / 100
n = TextBox3
Range("D3").Value = p
Range("D4").Value = i
Range("D5").Value = n
fila = 1
While fila<= n
interes = p * i
Cells(fila + 9, 2) = fila
Cells(fila + 9, 3).Value = p
p = p - amort
fila = fila + 1
Wend
Selection.Interior.ColorIndex = 1
Selection.Font.Bold = True
Selection.Font.ColorIndex = 2
End Sub
Dim f As Integer
f = 10
Range("D10").Select
Do Until IsEmpty(ActiveCell.Value)
ActiveCell.Offset(1, 0).Select
f=f+1
Loop
TextBox1 = ""
TextBox2 = ""
TextBox3 = ""
Range("D3").Value = ""
Range("D4").Value = ""
Range("D5").Value = ""
TextBox1.SetFocus
End Sub
End
End Sub
Mantenimiento y Busqueda