Ver Mensaje Individual
  #17 (permalink)  
Antiguo 14/09/2009, 09:04
Avatar de mrocf
mrocf
 
Fecha de Ingreso: marzo-2007
Ubicación: Bs.As.
Mensajes: 1.103
Antigüedad: 17 años, 1 mes
Puntos: 88
De acuerdo Consulta sobre lista en excel

Una opción podría ser:
Código PHP:
Sub DistingueEmailRepetidos()
Rem Seleccionar alguna celda del conjunto de direcciones de correo
Rem a controlar
.
Rem Luego de elloejecutar la presente macro.
Dim Tmp As StringMyForm As String
With Intersect
(ActiveCell.CurrentRegionActiveCell.EntireColumn)
  .
FormatConditions.DeleteTmp = .Cells(1)
  .
Cells(1).Formula "= COUNTIF(" & .Address ", " _
    ActiveCell
.Address(FalseFalse) & ") > 1"
  
MyForm = .Cells(1).FormulaLocal: .Cells(1) = Tmp
  
.FormatConditions.Add Type:=xlExpressionFormula1:=MyForm
  
.FormatConditions(1).Font.Bold True
  
.FormatConditions(1).Interior.ColorIndex 22
End With
End Sub 
Saludos, Cacho.