Boa tarde, estou começando a mexer com o VBA, e gostaria de saber se alguém sabe como sair desta linha de seleção amarela sem alterar os dados? Eu uso uma tabela multicor
e estou tendo dificuldades em tirar esse ''padrão'' que o rastro deixa
OBS: Uso esta config Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Static AncAdress As Long
'Se a função Ativar/Desativar foi implementada, adicionar a linha abaixo
If ActivationLigne Then Exit Sub
If Target.Count > 1 Then Exit Sub
If AncAdress <> 0 Then 'repor em normal
Rows(AncAdress).Interior.ColorIndex = 1
Rows(AncAdress).Font.ColorIndex = 2
End If
Target.EntireRow.Font.ColorIndex = 1
Target.EntireRow.Interior.ColorIndex = 27
Target.EntireRow.Interior.Pattern = xlSolid
AncAdress = Target.Row
End Sub
Agradeço desde já.