Escolar Documentos
Profissional Documentos
Cultura Documentos
Código Exclusão de Linhas Repetidas
Código Exclusão de Linhas Repetidas
Row For FixarLinha = FinalLinha To 1 Step -1 valor1 = Range("d" & FixarLinha).Value 'cabealho d1 = teste If valor1 = "teste" Then Exit Sub End If If InStr(1, Guardar, valor1) > 0 And valor1 <> " " Then Rows(FixarLinha).Delete Shift:=xlUp Else Guardar = Guardar & " " & valor1 End If Next End Sub