Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Sheets(Hoja).Activate
Else
Sheets.Add
ActiveSheet.Name = "Tempo"
Cells(1, 26) = 1
Cells(1, 1) = "Producto"
Cells(1, 2) = "Precio"
Cells(1, 3) = "Cantidad"
Cells(1, 4) = "Monto"
Cells(1, 5) = "Fecha"
End If
FrmVentas.Show
End Sub
TxtProducto.Text = CboProductos.List(CboProductos.ListIndex)
TxtPrecio.Text = Sheets("Productos").Cells(CboProductos.ListIndex + 2, 2)
End Sub
End
End Sub
Hoja = ActiveSheet.Name
Sheets("Productos").Activate
iFila = 2
CboProductos.AddItem Cadena
iFila = iFila + 1
Wend
End Sub
Sheets(Hoja).Select
Ix = Cells(1, 26)
Ix = Ix + 1
Cells(Ix, 1) = TxtProducto.Text
Cells(Ix, 2) = TxtPrecio.Text
Cells(Ix, 3) = TxtCantidad.Text
Cells(Ix, 4) = TxtMonto.Text
Cells(Ix, 5) = TxtFecha.Text
Cells(1, 26) = Ix
TxtProducto.Text = ""
TxtPrecio.Text = ""