- 14 Nov 2017 às 20:49
#28189
uso este codigo para fazer alteração de uma informação do listview
Private Sub CmdPlan1_Click()
Application.ScreenUpdating = False
Sheets("Plan1").Activate
Cells(Lin, 1).Value = CDate(TxtData.Text)
Cells(Lin, 2).Value = Format(Me.TxtValor.Text, "R$ 0.00#,##")
Cells(Lin, 3).Value = TxtDescrição.Text
TxtData.Text = ""
TxtValor.Text = ""
TxtDescrição.Text = ""
Sheets("Menu").Activate
Application.ScreenUpdating = True
End Sub
gostaria que assim que eu altere alguma informação , o listview seja atualizado.
Private Sub CmdPlan1_Click()
Application.ScreenUpdating = False
Sheets("Plan1").Activate
Cells(Lin, 1).Value = CDate(TxtData.Text)
Cells(Lin, 2).Value = Format(Me.TxtValor.Text, "R$ 0.00#,##")
Cells(Lin, 3).Value = TxtDescrição.Text
TxtData.Text = ""
TxtValor.Text = ""
TxtDescrição.Text = ""
Sheets("Menu").Activate
Application.ScreenUpdating = True
End Sub
gostaria que assim que eu altere alguma informação , o listview seja atualizado.