ERRO NO TARGET
Enviado: 29 Abr 2021 às 07:36
Olá a todos!
Pessoal ao rodar uma macro está aparecendo um erro que nunca vivenciei, ao executar o código abaixo esta sendo marcando o nome Target e apresentando erro de compilação "Variável não definida".
If WorksheetFunction. _
CountIfs(Range(Cells(6, 3), Cells(5002, "C")), Cells(5002, "C").Value2, _
Range(Cells(6, "H"), Cells(5002, "H")), "~>*") > 1 Then _
Cells(Target.Row, "H").ClearContents: Cells(Target.Row, Target.Column + 1).Select: _
GoTo rFimChange08Memo
Alguém sabe o motivo?
Pessoal ao rodar uma macro está aparecendo um erro que nunca vivenciei, ao executar o código abaixo esta sendo marcando o nome Target e apresentando erro de compilação "Variável não definida".
If WorksheetFunction. _
CountIfs(Range(Cells(6, 3), Cells(5002, "C")), Cells(5002, "C").Value2, _
Range(Cells(6, "H"), Cells(5002, "H")), "~>*") > 1 Then _
Cells(Target.Row, "H").ClearContents: Cells(Target.Row, Target.Column + 1).Select: _
GoTo rFimChange08Memo
Alguém sabe o motivo?