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

Functions cannot change formatting of a cell so it must be a macro.

Sub colorit()
ActiveCell.Interior.ColorIndex = _
Range("A1").Interior.ColorIndex
End Sub

Or use the Format PaintBrush


Gord Dibben MS Excel MVP


On Wed, 27 Aug 2008 07:34:01 -0700, 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
copy colour TomPl Excel Discussion (Misc queries) 0 August 27th 08 08:56 PM
copy colour Sheeloo Excel Discussion (Misc queries) 0 August 27th 08 08:43 PM
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


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