Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy Cells formats to another workbook


Hello Forum,

I have a master workbook with numerous sheets. On one of these sheets
“allocations”, there is code that colours the background of the cells
depending on set criteria.

On another workbook “daily cycle”, there is sheet “individual”, that
links to some cells in “allocations”.

Is it possible to have code that will also colour the appropriate
background cells in the sheet “individual”.

Currently only the values update, not the formats etc.

The cells are coloured depending on code, not conditional formatting.

Thanks in advance

Koala


--
koala
------------------------------------------------------------------------
koala's Profile: http://www.excelforum.com/member.php...o&userid=12953
View this thread: http://www.excelforum.com/showthread...hreadid=278244

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy Cells formats to another workbook

In the code that colors one, have it color the other.

workbooks("Daily Cycle.xls").worksheets("Individual").Range("A1").C olorIndex
= 13

would be an example of referencing the other workbook from the original
workbook.

--
Regards,
Tom Ogilvy

"koala" wrote in message
...

Hello Forum,

I have a master workbook with numerous sheets. On one of these sheets
"allocations", there is code that colours the background of the cells
depending on set criteria.

On another workbook "daily cycle", there is sheet "individual", that
links to some cells in "allocations".

Is it possible to have code that will also colour the appropriate
background cells in the sheet "individual".

Currently only the values update, not the formats etc.

The cells are coloured depending on code, not conditional formatting.

Thanks in advance

Koala


--
koala
------------------------------------------------------------------------
koala's Profile:

http://www.excelforum.com/member.php...o&userid=12953
View this thread: http://www.excelforum.com/showthread...hreadid=278244



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 cells based on conditions in one workbook to another workbook fLiPMoDŁ Excel Discussion (Misc queries) 0 August 1st 07 07:43 PM
Copy cells based on conditions in one workbook to another workbook fLiPMoDŁ Excel Worksheet Functions 0 August 1st 07 07:43 PM
how to copy only values and formats of worksheets to new workbook rvd Excel Worksheet Functions 3 January 31st 07 12:43 PM
Copy worksheet values and formats into another workbook Rick_Wendt Excel Programming 1 October 20th 04 08:14 PM
Copy a range of cells in an unopened workbook and paste it to the current workbook topstar Excel Programming 3 June 24th 04 12:50 PM


All times are GMT +1. The time now is 09:37 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"