Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Copy format of cell from other worksheet

When you tell a cell to display the contents of a cell from another worksheet
(eg. if in a cell from Sheet2 I put the formula ='Sheet1'!A1), how do you
also get it to use the formatting of that cell?

Thanks in advance for looking!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Copy format of cell from other worksheet

Formulas don't return this kind of formatting. They return values.

You could copy|paste or have a macro do it.

sirjibby wrote:

When you tell a cell to display the contents of a cell from another worksheet
(eg. if in a cell from Sheet2 I put the formula ='Sheet1'!A1), how do you
also get it to use the formatting of that cell?

Thanks in advance for looking!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Copy format of cell from other worksheet

Ok thanks for letting me know. Could you possibly explain quickly how I would
get a macro to do that?

"Dave Peterson" wrote:

Formulas don't return this kind of formatting. They return values.

You could copy|paste or have a macro do it.

sirjibby wrote:

When you tell a cell to display the contents of a cell from another worksheet
(eg. if in a cell from Sheet2 I put the formula ='Sheet1'!A1), how do you
also get it to use the formatting of that cell?

Thanks in advance for looking!


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Copy format of cell from other worksheet

As quickly as you can record yourself doing the copy then Paste
SpecialPaste links and Paste SpecialFormats.


Gord Dibben MS Excel MVP

On Fri, 29 Aug 2008 15:20:00 -0700, sirjibby
wrote:

Ok thanks for letting me know. Could you possibly explain quickly how I would
get a macro to do that?

"Dave Peterson" wrote:

Formulas don't return this kind of formatting. They return values.

You could copy|paste or have a macro do it.

sirjibby wrote:

When you tell a cell to display the contents of a cell from another worksheet
(eg. if in a cell from Sheet2 I put the formula ='Sheet1'!A1), how do you
also get it to use the formatting of that cell?

Thanks in advance for looking!


--

Dave Peterson


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Copy format of cell from other worksheet

On top of what Gord suggested, you could have an event macro that runs that does
the copy|Paste.

But you'd have to share how the "sending" cell changed--is it because the user
typed something, or is it because the formula got reevaluated?

And if you're sharing this, share the details of what cells are sending cells
and what cells are the corresponding receiving cells.

sirjibby wrote:

Ok thanks for letting me know. Could you possibly explain quickly how I would
get a macro to do that?

"Dave Peterson" wrote:

Formulas don't return this kind of formatting. They return values.

You could copy|paste or have a macro do it.

sirjibby wrote:

When you tell a cell to display the contents of a cell from another worksheet
(eg. if in a cell from Sheet2 I put the formula ='Sheet1'!A1), how do you
also get it to use the formatting of that cell?

Thanks in advance for looking!


--

Dave Peterson


--

Dave Peterson
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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
How to copy the format of one worksheet to others in same book? JLW Excel Discussion (Misc queries) 4 July 27th 06 06:56 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM
how do i copy the format of a cell from one worksheet to another Edith F Excel Discussion (Misc queries) 5 June 16th 05 09:17 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 06:31 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"