Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We went with a text search on the string version of the range. Since
it will be limited in application this is ok. Anyways we use this formula within conditional formatting. ie. we want to bold a cell if it is a precedent of another. Using worksheet change routine works, but we want to use ctrl+z. the string search works but is taxing on the virtual memory when done in conditional formatting. Function IsDirectPrecedentOf(subjectcell As Range, objectcell As Range) As Boolean IsDirectPrecedentOf = False IsDirectPrecedentOf = InStr(1, objectcell.Formula, subjectcell.Address(0, 0)) End Function Bob Phillips wrote: It won't work from a worksheet as I explained, and I am afraid I don't have a solution. -- HTH Bob Phillips |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
WorkSheet Cell Precedents? | Excel Discussion (Misc queries) | |||
How to direct to a cell from text | Excel Discussion (Misc queries) | |||
How do I direct cursor to a specific cell? | Excel Discussion (Misc queries) | |||
Cell Precedents | Excel Programming | |||
Using Indirect en direct cell references | Excel Discussion (Misc queries) |