PC Review


Reply
Thread Tools Rate Thread

Active Cell Color

 
 
Taurien
Guest
Posts: n/a
 
      27th Aug 2008
Hi!

Any function by which we can have active cell as colored or defferent from
other cells as usually we have to look at the row and column on top as its
highlighted. So any function by which a cell is colored.

Regards
 
Reply With Quote
 
 
 
 
Duke Carey
Guest
Posts: n/a
 
      27th Aug 2008
Chip Pearson has a utility on his site that does what you want.
www.cpearson.com

Unfortunately, his site appears to be down at this moment. If you check it
in a little while it might be back on line

"Taurien" wrote:

> Hi!
>
> Any function by which we can have active cell as colored or defferent from
> other cells as usually we have to look at the row and column on top as its
> highlighted. So any function by which a cell is colored.
>
> Regards

 
Reply With Quote
 
Taurien
Guest
Posts: n/a
 
      27th Aug 2008
i checked that site but still its not working, is there any other way around .
Thanks

"Duke Carey" wrote:

> Chip Pearson has a utility on his site that does what you want.
> www.cpearson.com
>
> Unfortunately, his site appears to be down at this moment. If you check it
> in a little while it might be back on line
>
> "Taurien" wrote:
>
> > Hi!
> >
> > Any function by which we can have active cell as colored or defferent from
> > other cells as usually we have to look at the row and column on top as its
> > highlighted. So any function by which a cell is colored.
> >
> > Regards

 
Reply With Quote
 
Duke Carey
Guest
Posts: n/a
 
      27th Aug 2008
It's up and running now

http://www.cpearson.com/Excel/RowLiner.htm


"Taurien" wrote:

> i checked that site but still its not working, is there any other way around .
> Thanks
>
> "Duke Carey" wrote:
>
> > Chip Pearson has a utility on his site that does what you want.
> > www.cpearson.com
> >
> > Unfortunately, his site appears to be down at this moment. If you check it
> > in a little while it might be back on line
> >
> > "Taurien" wrote:
> >
> > > Hi!
> > >
> > > Any function by which we can have active cell as colored or defferent from
> > > other cells as usually we have to look at the row and column on top as its
> > > highlighted. So any function by which a cell is colored.
> > >
> > > Regards

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      27th Aug 2008
Chip's rowliner is probably your best bet but it won't work on protected
worksheets.

This sheet event code is similar and can work on a protected sheet.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Static OldCell As Range
If Application.CutCopyMode = 0 Then
ActiveSheet.Unprotect Password:="justme"
If Not OldCell Is Nothing Then
OldCell.Interior.ColorIndex = xlColorIndexNone
OldCell.Borders.LineStyle = xlLineStyleNone
End If
Set OldCell = Target
OldCell.Interior.ColorIndex = 6
OldCell.Borders.LineStyle = xlContinuous
Else
If OldCell Is Nothing Then
Set OldCell = Target
Else
Set OldCell = Union(OldCell, Target)
End If
End If
ActiveSheet.Protect Password:="justme"
End Sub

Will color the activecell yellow.

Note: will wipe out existing background color of activecell cell unless BG
color is due to CF


Gord Dibben MS Excel MVP



On Wed, 27 Aug 2008 04:29:00 -0700, Taurien
<(E-Mail Removed)> wrote:

>Hi!
>
>Any function by which we can have active cell as colored or defferent from
>other cells as usually we have to look at the row and column on top as its
>highlighted. So any function by which a cell is colored.
>
>Regards


 
Reply With Quote
 
Taurien
Guest
Posts: n/a
 
      28th Aug 2008
great man it worked and its fun alongwith .. thanks

"Duke Carey" wrote:

> It's up and running now
>
> http://www.cpearson.com/Excel/RowLiner.htm
>
>
> "Taurien" wrote:
>
> > i checked that site but still its not working, is there any other way around .
> > Thanks
> >
> > "Duke Carey" wrote:
> >
> > > Chip Pearson has a utility on his site that does what you want.
> > > www.cpearson.com
> > >
> > > Unfortunately, his site appears to be down at this moment. If you check it
> > > in a little while it might be back on line
> > >
> > > "Taurien" wrote:
> > >
> > > > Hi!
> > > >
> > > > Any function by which we can have active cell as colored or defferent from
> > > > other cells as usually we have to look at the row and column on top as its
> > > > highlighted. So any function by which a cell is colored.
> > > >
> > > > Regards

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
set the background color of the current cell(active cell) kang Microsoft Excel New Users 2 31st Jul 2007 04:48 PM
Active Cell Color jamex Microsoft Excel Misc 1 9th Mar 2006 07:52 PM
color of active cell =?Utf-8?B?Um9iYjI3?= Microsoft Excel Programming 3 17th Apr 2005 01:40 PM
Active Cell Color =?Utf-8?B?Q2xhaXJlVmlldw==?= Microsoft Excel Misc 3 24th Nov 2004 01:13 AM
get the active color of a cell chibouki Microsoft Excel Misc 1 18th Sep 2003 04:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:12 PM.