Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Copying cell colours

I need know if anyone can help me with how I can make one cell copy the fill
colour of another cell?

i.e

A/01 is turned Red
I also want B/o1 to be Red

A/01 is turned Red
I also want A/05 to be Red

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Copying cell colours

One way:

Put this in your worksheet code module (right-click the worksheet tab
and choose View Code):

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Range("B1,A5").Interior.ColorIndex = _
Range("A1").Interior.ColorIndex
End Sub

Note that the change won't take effect until you change the selected
cell.

If you're not familiar with macros, see

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In article ,
Atomic wrote:

I need know if anyone can help me with how I can make one cell copy the fill
colour of another cell?

i.e

A/01 is turned Red
I also want B/o1 to be Red

A/01 is turned Red
I also want A/05 to be Red

Thank you in advance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell Colours jmc Excel Discussion (Misc queries) 1 June 16th 07 03:06 PM
Cell colours not showing vivi Excel Discussion (Misc queries) 1 April 11th 07 02:12 PM
Count If on colours in a cell? Jelinek Excel Discussion (Misc queries) 2 May 11th 06 11:35 AM
Excel 2003 font colours and cell colours bretta Excel Discussion (Misc queries) 1 April 17th 05 03:45 AM
How to set different font colours in a cell? Sam Excel Worksheet Functions 1 March 29th 05 01:53 AM


All times are GMT +1. The time now is 03:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"