Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default What formula will copy the content & format of the target cell?

I know the simple "=C5" will copy the content of cell C5 but I also want the
cell to copy the format, color, etc. I'm trying to create a schedule where
the information can be entered once and repeated into several different cell
throughout the worksheet.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default What formula will copy the content & format of the target cell?

Formulae only return values to their calling cells, they can't return
formatting. For that, you'd need an event macro. For instance, put
something like this in your worksheet code module (right-click the
worksheet tab and choose View Code):


Private Sub Worksheet_Calculate()
Range("C5").Copy Destination:=Range("J1, K2, L3")
End Sub


Note that changing formats doesn't fire an event, so you'll have to
initiate a calculation to force the copy.


In article ,
razorman wrote:

I know the simple "=C5" will copy the content of cell C5 but I also want the
cell to copy the format, color, etc. I'm trying to create a schedule where
the information can be entered once and repeated into several different cell
throughout the worksheet.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default What formula will copy the content & format of the target cell?

I know the simple "=C5" will copy the content of cell C5 but I also
want the cell to copy the format, color, etc. I'm trying to create a
schedule where the information can be entered once and repeated into
several different cell throughout the worksheet.


Here’s a way that may work for you, provided no formulas refer to the
"different" cells. Any formulas using the value need to refer to the
original cell (C5).

1. Select C5 and use
Edit Copy

2. Select a "different" cell.

3. While holding down the Shift key, use
Edit Paste picture link

Repeat steps 2 and 3 for other "different" cells.

Notice that the "picture link" size doesn't track changes if you
add/delete/resize rows or columns. Basically, it's kind of like a graphic
item that floats above the worksheet.

There are those caveats, but maybe picture links would work in this
situation.
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 row based on cell content billinr New Users to Excel 6 February 21st 07 01:49 PM
Copy rows based on cell content billinr Excel Discussion (Misc queries) 2 February 14th 07 08:17 PM
How do I copy a formula/paste w/o losing the cell content? CShannon Excel Discussion (Misc queries) 6 June 25th 05 12:39 PM
How do you copy a cell's content verses it's formula? Tammy Excel Discussion (Misc queries) 1 March 2nd 05 06:30 PM
How do I copy a cell (content AND format) from one worksheet to a. Excel Format Copy Excel Worksheet Functions 1 February 9th 05 10:34 PM


All times are GMT +1. The time now is 03:34 PM.

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

About Us

"It's about Microsoft Excel"