Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula that perfectly copies data from another cell (with color)?

I need to refer to another cell along with the background formatting.
In other words if A(1) has a value of 200, and the background is red,
I want another cell to point to A(1) as well as maintain the
formatting of A(1).

Thanks
Ron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Formula that perfectly copies data from another cell (with color)?

Not possible with a formula.

You can use the change event in the worksheet module
but if you only change the color of the cell the change event will not run

Something like this
Copy format and value of A1 to C1 if you change A1

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Not Application.Intersect(Range("A1"), Target) Is Nothing Then
Target.Copy Range("C1")
End If
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Ron Wood" wrote in message om...
I need to refer to another cell along with the background formatting.
In other words if A(1) has a value of 200, and the background is red,
I want another cell to point to A(1) as well as maintain the
formatting of A(1).

Thanks
Ron



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
formula copies value from original cell only smaem Excel Worksheet Functions 2 March 20th 08 07:42 PM
Type in one cell and data copies into another cell slavenp Excel Discussion (Misc queries) 2 August 23rd 07 04:02 PM
Macro or Formula that copies and moves data? A.S. Excel Discussion (Misc queries) 1 December 21st 06 03:28 PM
Is There a Formula that copies another cell exactly in Excel? Dhbomb2k1 Excel Discussion (Misc queries) 3 July 6th 06 08:20 PM
I need a macro that copies that data from one cell on one sheet to a cell on another? cakonopka[_7_] Excel Programming 8 February 4th 04 01:34 PM


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

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"