A cell copied onto one worksheet from another worksheet does display same formatting.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 2 worksheets in my workbook. On worksheet "A" i have a number in red font with black background in cell B1. On worksheet "B" the contents of cell A1 is =A!B1. This copies the value located in cell B1 of worksheet "A" but not the color formatting. How can that get copied as well?
 
Hi

A formula has one single job: to return a value into its own cell. No
formats, no copying, no dancing, no fun, only that.

--
HTH. Best wishes Harald
Followup to newsgroup only please

Mark said:
I have 2 worksheets in my workbook. On worksheet "A" i have a number in
red font with black background in cell B1. On worksheet "B" the contents of
cell A1 is =A!B1. This copies the value located in cell B1 of worksheet "A"
but not the color formatting. How can that get copied as well?
 
A formula can't do that. But you could use a worksheet_change event to copy
the format also.

if target.address="$A$3" then
target.copy _
sheets("sheetb").range("a4"). paste pastespecial:=all
end if

--
Don Guillett
SalesAid Software
(e-mail address removed)
Mark said:
I have 2 worksheets in my workbook. On worksheet "A" i have a number in
red font with black background in cell B1. On worksheet "B" the contents of
cell A1 is =A!B1. This copies the value located in cell B1 of worksheet "A"
but not the color formatting. How can that get copied as well?
 
Mark
Are you changing the format in sheet A and want the format in B to change also? If so, waht are the reasons you change the format? You might be able to use Conditional Formatting on both sheets

Good Luck
Mark Graesse
(e-mail address removed)

----- Mark wrote: ----

I have 2 worksheets in my workbook. On worksheet "A" i have a number in red font with black background in cell B1. On worksheet "B" the contents of cell A1 is =A!B1. This copies the value located in cell B1 of worksheet "A" but not the color formatting. How can that get copied as well?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top