Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

set the background color of the current cell(active cell)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kang - 31 Jul 2007 06:12 GMT
how to set the background color the row of the current cell(active cell)
each time I click the cells.
Mike H - 31 Jul 2007 09:14 GMT
Hi,

Right click the sheet tab, view code and paste this in.

Public OldRange As Range
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
   If Not OldRange Is Nothing Then
       OldRange.Interior.ColorIndex = xlNone
   End If
   Target.Interior.ColorIndex = 36
   Set OldRange = Target
End Sub

Mike

> how to set the background color the row of the current cell(active cell)
> each time I click the cells.
Gord Dibben - 31 Jul 2007 16:48 GMT
Download Chip Pearson's RowLiner add-in to gain this functionality.

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

Gord Dibben  MS Excel MVP

>how to set the background color the row of the current cell(active cell)
>each time I click the cells.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.