sossego385011
24-02-2017 21:41:24
boa noite
estou usando este codigo para fazer o lançamento.
como faço para somar a coluna 5 em ma textbox
Private Sub CmdCaixa_Click()
Dim x As Integer
x = ListBox1.ListCount
With ListBox1
.AddItem
.List(x, 0) = TxtData.Value
.List(x, 1) = TxtDescrição.Value
.List(x, 2) = TxtQntde.Value
.List(x, 3) = TxtValor.Value
.List(x, 4) = TxtTotal.Value
.List(x, 5) = TxtFornecedor.Value
.List(x, 6) = TxtObservação.Value
End With
End Sub
estou usando este codigo para fazer o lançamento.
como faço para somar a coluna 5 em ma textbox
Private Sub CmdCaixa_Click()
Dim x As Integer
x = ListBox1.ListCount
With ListBox1
.AddItem
.List(x, 0) = TxtData.Value
.List(x, 1) = TxtDescrição.Value
.List(x, 2) = TxtQntde.Value
.List(x, 3) = TxtValor.Value
.List(x, 4) = TxtTotal.Value
.List(x, 5) = TxtFornecedor.Value
.List(x, 6) = TxtObservação.Value
End With
End Sub