CAMBIAR COLOR A CELDA ACTIVA

mespinalt

New Member
Joined
Apr 7, 2006
Messages
17
HOLA:
HAY ALGUNA FORMA ENTRE LAS OPCIONES DE CONFIGURAR EXCEL QUE PUEDA CAMBIAR EL COLOR DE LA CELDA ACTIVA, ES DECIR, LA CELDA QUE VOY A USAR. EL COLOR BLANCO CONFUNDE A VECES, Y NO PUEDO DISTINGUIR EN QUE LOCALIZACION ESTA.

GRACIAS

MESPINALT
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Manuel,

Conozco esa solución a la cual refiere Oaktree. El problema con eso es que usted tiene que agregar ese código al cuaderno. Si desea hacerlo con varios cuadernos hay que programar cada uno. En cambio, Chip Peason hizo un Add-In que usted puede instalar donde se puede activar/apagar facilmente y que tampoco impacta los formatos (O formatos condicionales) del rango invulcrado.

El Add-In de Chip se encuentra aquí: http://www.cpearson.com/excel/RowLiner.htm

Cordialmente,
 
Upvote 0
Aca pongo mi version
para el Modulo Thisworkbook

Dim antcolour1 As Long
Dim antrange As Range

Dim conta As Boolean


Private Sub Workbook_BeforeClose(Cancel As Boolean)
ActiveCell.Interior.ColorIndex = antcolour1


End Sub

Private Sub Workbook_Open()

Static antcolour2 As Long



'If conta = False Then

conta = True
antcolour1 = antcolour2
'Else
'antcolour2 = antcolour1
'End If



If Selection.Cells.Count > 1 Then Exit Sub


On Error Resume Next

antcolour1 = ActiveCell.Interior.ColorIndex


ActiveCell.Interior.ColorIndex = 6
antrange.Interior.ColorIndex = antcolour2


Set antrange = ActiveCell




End Sub

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)

Static antcolour2 As Long



If conta = False Then

conta = True
antcolour1 = antcolour2
Else
antcolour2 = antcolour1
End If



If Target.Cells.Count > 1 Then Exit Sub


On Error Resume Next

antcolour1 = Target.Interior.ColorIndex


Target.Interior.ColorIndex = 6
antrange.Interior.ColorIndex = antcolour2


Set antrange = Target


End Sub


Tampoco es un addin
 
Upvote 0
COLOR DE LA CELDA ACTIVA

HOLA GREG:

BAJE EL ADD-IN DE CHIP, PERO AL INSTALARLO ME DA UN ERROR.
YO UTILIZO EL EXCEL 2003. ¿A QUE SE DEBE EL ERROR?

GRACIAS POR TU PRONTA REPUESTA

MANUEL
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,613
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top