Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
REferencing a cell from another sheet... and taking it's coplour with it?
Hello Experts! Another question that I am incapable to resolve - oh and btw i dunno if this is the right forum to post in!! I have several sheets with data and cells that are manually colour coded for their approval status. Then I have a summary page that colates all the info with the folowing formulas: In cell A1: =IF(Sheet2!A1=0,"",Sheet2!A1) Is there a way to colour the cell in the same way as the cell it links from? Many thanks -- Petitboeuf ------------------------------------------------------------------------ Petitboeuf's Profile: http://www.excelforum.com/member.php...o&userid=10602 View this thread: http://www.excelforum.com/showthread...hreadid=547465 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
REferencing a cell from another sheet... and taking it's coplour with it?
Try running the following short macro when the sheet containing the formulae is activated Sub Process() Set CellRange = Cells.SpecialCells(xlCellTypeFormulas, 23) For Each Cell In CellRange Cell.Interior.ColorIndex = Sheets(Mid(Cell.Formula, 2, InStr(Cell.Formula, "!") - 2)).Range(Right(Cell.Formula, Len(Cell.Formula) - InStr(Cell.Formula, "!"))).Interior.ColorIndex Next Cell End Sub -- mrice Research Scientist with many years of spreadsheet development experience ------------------------------------------------------------------------ mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931 View this thread: http://www.excelforum.com/showthread...hreadid=547465 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Cell but not sheet protection | Excel Discussion (Misc queries) | |||
resetting last cell | Excel Discussion (Misc queries) | |||
Taking out duplicates from a single sheet | Excel Discussion (Misc queries) | |||
IF THEN LOGIC | Excel Discussion (Misc queries) |