@Basole Desculpe a ignorância Basole, coloquei o código que me indica-se no Alteração_Click, e me retorna erro de compilação: referência inválida ou não qualifica
Pode apontar o meu erro?
Private Sub Alteração_Click()
Set Rng = .Range("A2:A13000").Find(What:=Me.txt_ID.Text, LookIn:=xlValues, LookAt:=xlWhole, _
MatchCase:=False, SearchFormat:=False)
i = Plan1.Cells(Cells.Rows.Count, "a").End(xlUp).Row + 1
i = Plan1.Cells(Cells.Rows.Count, "a").End(xlUp).Row + 1
For j = 2 To i
If CInt(txt_ID) = CInt(Plan1.Cells(i, 1)) Then
Plan1.Cells(i, 2) = UCase(txt_titulo)
Plan1.Cells(i, 3) = UCase(txt_numero)
Plan1.Cells(i, 4) = UCase(txt_data)
Plan1.Cells(i, 5) = UCase(txt_licenciadora)
Plan1.Cells(i, 6) = UCase(txt_editora)
Exit For
End If
Next
For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems.Item(i) = txt_ID Then
ListView1.ListItems.Item(i).SubItems(1) = UCase(txt_titulo)
ListView1.ListItems.Item(i).SubItems(2) = UCase(txt_numero)
ListView1.ListItems.Item(i).SubItems(3) = UCase(txt_data)
ListView1.ListItems.Item(i).SubItems(4) = UCase(txt_licenciadora)
ListView1.ListItems.Item(i).SubItems(5) = UCase(txt_editora)
Exit For
End If
Next
End Sub