#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default copy colour


Try

Sub CopyColor()
Range("B2").Select
With Selection.Interior
.Pattern = Range("A2").Interior.Pattern
.Color = Range("A2").Interior.Color
End With
End Sub

"assaf1978" wrote:

Hi,
How can I copy a colour of a cell to another cell, using a function or a
macro?

Thanks,
Assaf.

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
How to make a cell copy the fill colour of another cell Chase Excel Worksheet Functions 1 February 21st 08 10:29 AM
How to make a cell copy the info from another (background colour i whrs09 New Users to Excel 1 November 29th 07 01:31 AM
excel - formula to copy the cell contents and colour. Possible? Jason Excel Discussion (Misc queries) 3 August 24th 07 10:05 PM
How do I save new colour schemes for graphs in the colour template Alison Charts and Charting in Excel 1 July 22nd 06 10:35 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM


All times are GMT +1. The time now is 11:19 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"