Ver Mensaje Individual
  #5 (permalink)  
Antiguo 02/03/2008, 19:12
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 Re: FullRow en Excel Resaltar columna y fila en Tablas

Entonces el código que debes incorporar a tu hoja es un poco más elaborado. Algo así como:

Código:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Dim MiRango As Range
Application.ScreenUpdating = False

With Application.Cells
   .Borders(xlInsideVertical).LineStyle = xlNone
   .Borders(xlInsideHorizontal).LineStyle = xlNone
End With
Set MiRango = Application.Union(Range(Cells(Target.Row, 1), Target), _
   Range(Cells(1, Target.Column), Target))
   
With MiRango.Borders(xlEdgeLeft)
   .LineStyle = xlContinuous
   .Weight = xlMedium
   .ColorIndex = 7
End With
With MiRango.Borders(xlEdgeTop)
   .LineStyle = xlContinuous
   .Weight = xlMedium
   .ColorIndex = 7
End With
With MiRango.Borders(xlEdgeBottom)
   .LineStyle = xlContinuous
   .Weight = xlMedium
   .ColorIndex = 7
End With
With MiRango.Borders(xlEdgeRight)
   .LineStyle = xlContinuous
   .Weight = xlMedium
   .ColorIndex = 7
End With

Application.ScreenUpdating = True
Set MiRango = Nothing
End Sub 
Espero que éste te sea más útil.

Saludos.