Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
what is the best way to change the color of the
activecell? Thanks for your help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
activecell.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Activecell.Interior.ColorIndex = 3 -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "alldreams" wrote in message ... what is the best way to change the color of the activecell? Thanks for your help. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
make this Hi activecell.interior.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany Frank Kabel wrote: Hi activecell.colorindex = 3 alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get this error:
Object doesn't support this object or method Sub color() ActiveCell.ColorIndex = 3 End Sub I want the activecell, at all times, to be gray. Any suggestions? -----Original Message----- Hi activecell.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. . |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this work. However, the color change remains after I
changed to a different cell. I want to dynamically change the color of the activecell only thanks! -----Original Message----- Hi make this Hi activecell.interior.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany Frank Kabel wrote: Hi activecell.colorindex = 3 alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. . |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You need VBA for this
Dim prev As Range Private Sub Worksheet_Activate() Set prev = ActiveCell End Sub Private Sub Worksheet_SelectionChange(ByVal Target As Range) ActiveCell.Interior.ColorIndex = 15 prev.Interior.ColorIndex = xlColorIndexNone Set prev = ActiveCell End Sub -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "alldreams" wrote in message ... I get this error: Object doesn't support this object or method Sub color() ActiveCell.ColorIndex = 3 End Sub I want the activecell, at all times, to be gray. Any suggestions? -----Original Message----- Hi activecell.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. . |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
for this you would need an event procedure. But maybe the following is what you're looking for: http://www.cpearson.com/excel/excelM...ightActiveCell http://www.cpearson.com/excel/RowLiner.htm -- Regards Frank Kabel Frankfurt, Germany alldreams wrote: this work. However, the color change remains after I changed to a different cell. I want to dynamically change the color of the activecell only thanks! -----Original Message----- Hi make this Hi activecell.interior.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany Frank Kabel wrote: Hi activecell.colorindex = 3 alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. . |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It might be worthy to note that an often undesirable side effect of this is
that you will lose the ability to undo edits as many macros cause the undo history to zero out. -- Regards, Tom Ogilvy "Frank Kabel" wrote in message ... Hi for this you would need an event procedure. But maybe the following is what you're looking for: http://www.cpearson.com/excel/excelM...ightActiveCell http://www.cpearson.com/excel/RowLiner.htm -- Regards Frank Kabel Frankfurt, Germany alldreams wrote: this work. However, the color change remains after I changed to a different cell. I want to dynamically change the color of the activecell only thanks! -----Original Message----- Hi make this Hi activecell.interior.colorindex = 3 -- Regards Frank Kabel Frankfurt, Germany Frank Kabel wrote: Hi activecell.colorindex = 3 alldreams wrote: what is the best way to change the color of the activecell? Thanks for your help. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If activecell.column = variable then activecell,offset (0,1) | Excel Discussion (Misc queries) | |||
ActiveCell or ActiveSheet | Excel Worksheet Functions | |||
activecell offset | Excel Programming | |||
how to set activecell? | Excel Programming | |||
Formula with an ActiveCell | Excel Programming |