LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default WORKING WITH COLORINDEX AND MULTIPLE WORKBOOKS

Am working with 2 workbooks: book1.sheet1 and book2.sheet1. The task is
to search thru the usedrange in book1.sheet1 for cell with interior
colorIndex of 43 and apply to corresponding cell in book2.sheet2;
That means with cell of colorInedx 43 found, then identify and select
the corresponding value in the Column A. Then with that value turn to
Book2.sheet1 and Search thru column A for same value. Identify the cell
that corresponds to the one in book2 with color index 43 and apply
color index 56 to the cell.

both sheets contains same set data structure i.e same columns.
book1.sheet1 has more rows. Columns A arrangements are irregular.
Usedranges are not fixed. see illustrations below:

The cells marked X has interior.colorindex of 43

Book1.sheet1
COLUMN A COLUMN B COLUMN C COLUMN D

Greg x
x
John x
James x
Peter
Joy
x



Book2.sheet1
COLUMN A COLUMN B COLUMN C COLUMN D

Greg

John
James

 
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
Working with multiple files/workbooks cross linked MikeR-Oz New Users to Excel 3 September 16th 08 12:56 AM
Working with multiple workbooks. Glen Excel Programming 0 August 26th 06 08:05 PM
Working on Multiple Workbooks create_share Excel Discussion (Misc queries) 1 July 24th 06 12:25 PM
activesheet.tab.colorindex not working when workbook shared Martin Appleton Excel Discussion (Misc queries) 0 July 21st 06 08:45 AM
Is ther a way to change the interior.colorindex of multiple rows sdnicsm Excel Programming 2 April 5th 04 03:53 AM


All times are GMT +1. The time now is 08:09 AM.

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"