ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   linked workbooks - how to move color as well as data? (https://www.excelbanter.com/excel-discussion-misc-queries/194962-linked-workbooks-how-move-color-well-data.html)

Newbie

linked workbooks - how to move color as well as data?
 
We've got two excel workbooks. Workbook A is the master. Workbook B
has cells that point to cells in workbook A. So, when data changes in
A, the values change in B. So far so good.

Depending on the data in workbook A, the cells in that workbook may
change color. Workbook B gets the data, but not the color of the cell
containing the data. Is there any modification to the link that would
also pull over the cell color?

If not, is there an event that's fired when the data (from a link)
changes? it doesn't seem to fire the sheet changed event...

Jim Thomlinson

linked workbooks - how to move color as well as data?
 
The short answer is no can do... Functions return values but not formats.
While you could do some macros they are going to be sub-optimal at best.
--
HTH...

Jim Thomlinson


"Newbie" wrote:

We've got two excel workbooks. Workbook A is the master. Workbook B
has cells that point to cells in workbook A. So, when data changes in
A, the values change in B. So far so good.

Depending on the data in workbook A, the cells in that workbook may
change color. Workbook B gets the data, but not the color of the cell
containing the data. Is there any modification to the link that would
also pull over the cell color?

If not, is there an event that's fired when the data (from a link)
changes? it doesn't seem to fire the sheet changed event...


TomPl

linked workbooks - how to move color as well as data?
 
Try to copy the format of the cell in A to the cell in B. If the color
change is based on conditional formating that should do the trick.

Tom

"Newbie" wrote:

We've got two excel workbooks. Workbook A is the master. Workbook B
has cells that point to cells in workbook A. So, when data changes in
A, the values change in B. So far so good.

Depending on the data in workbook A, the cells in that workbook may
change color. Workbook B gets the data, but not the color of the cell
containing the data. Is there any modification to the link that would
also pull over the cell color?

If not, is there an event that's fired when the data (from a link)
changes? it doesn't seem to fire the sheet changed event...



All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com